public class ResourceLoader extends Object
Constructor and Description |
---|
ResourceLoader() |
Modifier and Type | Method and Description |
---|---|
File |
getResourceTempFile(String resourcePath)
Returns a File object to a system temporary file created from
the resource specified by the path passed
|
String |
getResourceTempURI(String resourcePath)
Returns the file name of a system temporary file created from
the resource specified by the path passed
|
public String getResourceTempURI(String resourcePath) throws IOException
resourcePath
- the path to get the resource fromIOException
- if the file name can't be foundpublic File getResourceTempFile(String resourcePath) throws IOException
resourcePath
- the path to get the resource fromIOException
- if the File object can't be foundCopyright © 2017 smarTen. All rights reserved.