File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
WA #1.....word association
performance issues with file read and write
Struts FormFile (parsing .csv files)
Creating a file by giving relative path
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015