Whatever Goes
Tuesday, August 2, 2011
file name to java.io.File
String filePath = "com/?/work?/rest/resource/" + fileName;
java.net.URL fileUrl = getClass().getClassLoader().getResource(filePath);
java.io.File rawFileData = new File (filUrl.toURI());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment