Connecting Tech Pros Worldwide Forums | Help | Site Map

Accessing a file through its path

Newbie
 
Join Date: Mar 2009
Location: India
Posts: 14
#1: Jul 2 '09
Hi.

Quick thought.

Is one able to access a file purely through its path, when using Java SE 6??

This feature seems to be available in the Java 7 preview JDK in the package nio.file. But what about SE 6?

JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: Jul 2 '09

re: Accessing a file through its path


Quote:

Originally Posted by p vs np View Post

Hi.

Quick thought.

Is one able to access a file purely through its path, when using Java SE 6??

This feature seems to be available in the Java 7 preview JDK in the package nio.file. But what about SE 6?

Care to explain that? Because I use the term 'path' of a file as a relative or absolute name of the file itself, not just the directory in which a file is stored as you seem to imply.

kind regards,

Jos
Newbie
 
Join Date: Mar 2009
Location: India
Posts: 14
#3: Jul 3 '09

re: Accessing a file through its path


Mea Culpa.

I had something else in mind, which seems to have sorted itself out.

Thank you.
Reply