Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: Size information fdrom IFile
Re: Size information fdrom IFile [message #326999] Fri, 04 April 2008 11:31 Go to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Prabhu,

Please don't cross post the same question to multiple groups. If you
must cross post, use a single posting addressed to all the groups at
once. I wonder if your question and the previous one are a coincidence
or two people from the same team asking the same question?


S Prabhu wrote:
> Hello!
>
> i have plan to develop the file browser as a RCP Application. i am not
> sure how i can get the size of the file from the IFile object...
>
> Please advise me .. how i can get this information....
>
> Thanks
> S.Prabhu
>
Re: Size information fdrom IFile [message #327000 is a reply to message #326999] Fri, 04 April 2008 11:42 Go to previous messageGo to next message
Senthamarai Prabhu is currently offline Senthamarai PrabhuFriend
Messages: 2
Registered: July 2009
Junior Member
Hello Merks,

i have no idea about the similar post by some other person...
i took more than 2 hrs (in mid went out, after back just completed the
sentence and made post) i have not seen back about the similar post... i
apologizes for that....
"use a single posting addressed to all the groups at once" - i am not
clear how to do this...

Thanks
S.Prabhu
Re: Size information fdrom IFile [message #327009 is a reply to message #326999] Fri, 04 April 2008 14:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adrian.schyja.googlemail.com

Ed Merks formulierte Freitag :
> Prabhu,
>
> Please don't cross post the same question to multiple groups. If you must
> cross post, use a single posting addressed to all the groups at once. I
> wonder if your question and the previous one are a coincidence or two people
> from the same team asking the same question?
>
>
> S Prabhu wrote:
>> Hello!
>>
>> i have plan to develop the file browser as a RCP Application. i am not sure
>> how i can get the size of the file from the IFile object...
>>
>> Please advise me .. how i can get this information....
>>
>> Thanks
>> S.Prabhu

How about:

ifile.getFullPath().toFile().length();

i'm not sure, never tested it.
Re: Size information fdrom IFile [message #327019 is a reply to message #327000] Fri, 04 April 2008 19:10 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"S Prabhu" <senth.prabhu@hotmail.com> wrote in message
news:8e0626846b7ef22b3f616da111a50b92$1@www.eclipse.org...
> "use a single posting addressed to all the groups at once" - i am not
> clear how to do this...

It depends on your newsreader. In Outlook Express, for instance, in the
"Newsgroups" header field, you enter the names of all the newsgroups you
wish to post to, delimited by commas.

That way, if someone reads a post on one group, their newsreader will
automatically mark it as "read" in all the other newsgroups they read,
saving much time; and responses in one newsgroup will automatically be
posted to all the other newsgroups, which helps avoid redundant answers.
It's a very valuable feature.
Previous Topic:Switch off remembering last opened editor
Next Topic:Running Eclipse 3.4M6 with "-configuration"
Goto Forum:
  


Current Time: Sun Jun 30 00:24:47 GMT 2024

Powered by FUDForum. Page generated in 0.01769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top