954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Pathname Problem

I have an array list that stores some files. These files are shown to the user. Depending on the index chosen i will input the file to the program.

There fore i write

//initialization
List projecList = new ArrayList(//........);

//body
 String getproject = projectList.get(index).toString();
           updatepd(getproject);


if i system.out.println() the getproject string i get
file:/C:/Program%20Files/testproject/example.alp

but i need
C:/Program Files/testproject/example.alp...without the %20

I would really appreciate any help
thanks
chipsncoke

Chipsncoke
Newbie Poster
11 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

I forgot one point I am Using URI's .

Thanks
Chipsncoke

Chipsncoke
Newbie Poster
11 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You