A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Joined: Mar 04, 2012
Mar 04, 2012 22:59:14
File junitOutputDir = new File("logs/", "junit.output");
Can anybody explain what this code is doing?
Joined: Jul 26, 2007
Mar 04, 2012 23:16:47
Did you read the File API?
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
Joined: Nov 20, 2011
Mar 04, 2012 23:25:02
A detail explanation of
The Path class is an upgraded version of the well-known
Answer to your Question: You are making a new instance of class file. Once you have the File object then you can work on your file.
I agree. Here's the link:
subject: File Creation
Creating a file by giving relative path
Struts FormFile (parsing .csv files)
performance issues with file read and write
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014