Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.1
-
None
-
None
Description
How about refactoring getFile to also provide:
public static String getPath(Final File dir, final String... dirs) and
public static String getPath(final String... dirs)
Here's a use-case for it :
FileUtils.toFile(Thread.currentThread().getClass().getResource(FileUtils.getPath("src","test","resourĀces","YourFile.csv"));
http://stackoverflow.com/questions/5529532/how-to-get-a-test-resource-file
Attachments
Issue Links
- relates to
-
IO-261 Add FileUtils.getFile API with varargs parameter
- Closed