Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » File Handlers with White Space
File Handlers with White Space [message #313918] Wed, 28 March 2007 04:34 Go to next message
Eclipse UserFriend
Hallo,

My SWT File Browser returns me the file handlers for the selected files. But
i am not able to make a write access to the files that have empty spaces in
the file path.

For example.
f:\New Folder\foo.txt is not accessible. I am aware of the unicodes being
used in the file path. Is there a work around for this issue.

with regards,
Madanagopal.
Re: File Handlers with White Space [message #313924 is a reply to message #313918] Wed, 28 March 2007 06:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Madanagopal,

Are you talking about org.eclipse.swt.widgets.FileDialog? What
specifically are you trying to do that doesn't seem to be working?
(More detail in the question usually results in better detail in the
answer.)


Madanagopal wrote:
> Hallo,
>
> My SWT File Browser returns me the file handlers for the selected files. But
> i am not able to make a write access to the files that have empty spaces in
> the file path.
>
> For example.
> f:\New Folder\foo.txt is not accessible. I am aware of the unicodes being
> used in the file path. Is there a work around for this issue.
>
> with regards,
> Madanagopal.
>
>
>
Re: File Handlers with White Space [message #313927 is a reply to message #313924] Wed, 28 March 2007 08:53 Go to previous message
Eclipse UserFriend
I was mentioning about the swt File Dialog. I have managed to find a
solution. With the File handler i get from this dialog, i can decode this
handler using URLDecoder.decode(). With this i am able to handle the decoded
handler that previously had the white spaces which are represented with
Unicodes.

Thanks Ed.

"Ed Merks" <merks@ca.ibm.com> schrieb im Newsbeitrag
news:eudga0$g1k$1@utils.eclipse.org...
> Madanagopal,
>
> Are you talking about org.eclipse.swt.widgets.FileDialog? What
> specifically are you trying to do that doesn't seem to be working? (More
> detail in the question usually results in better detail in the answer.)
>
>
> Madanagopal wrote:
>> Hallo,
>>
>> My SWT File Browser returns me the file handlers for the selected files.
>> But
>> i am not able to make a write access to the files that have empty spaces
>> in
>> the file path.
>>
>> For example.
>> f:\New Folder\foo.txt is not accessible. I am aware of the unicodes being
>> used in the file path. Is there a work around for this issue.
>>
>> with regards,
>> Madanagopal.
>>
>>
Previous Topic:Project and ActionSets
Next Topic:Eclipse Project Caching Help
Goto Forum:
  


Current Time: Tue Jul 22 13:57:43 EDT 2025

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

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

Back to the top