Results 1 to 1 of 1
- 10-03-2011, 05:59 AM #1
Member
- Join Date
- Oct 2011
- Posts
- 2
- Rep Power
- 0
reading a file from the parent (x3) of a java
I have several javas, but I want one of them to read a text file located in this folder called "projects", which is the parent of its parent of its parent (java\folder\folder1\projects)
the "folder" is a temporary folder for my source code while the projects is for all the files in general.
Would I have to use something like this:
to declare a directory variable to the projects folder, then access the text file with BufferedReader? Sorry for this basic stuff, I have to be sure :/Java Code:(((this.getParent()).getParent()).getParent())
Similar Threads
-
reading from onenote file with java
By noMentor in forum New To JavaReplies: 1Last Post: 09-25-2011, 02:33 PM -
Reading Binary File using java
By pnbalaji in forum New To JavaReplies: 16Last Post: 06-11-2010, 02:50 PM -
Reading file atributes in java??
By tfitz666 in forum New To JavaReplies: 5Last Post: 03-24-2010, 09:12 PM -
Reading a file into java and give it out
By little_polarbear in forum New To JavaReplies: 7Last Post: 06-05-2008, 10:32 AM -
Question abt.reading xml file using java
By gvi in forum Advanced JavaReplies: 6Last Post: 11-08-2007, 05:48 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks