| Constructor and Description |
|---|
FileResource(File file)
Deprecated.
|
FileResource(Path file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
File |
getFile()
Deprecated.
|
String |
getFileName() |
Path |
getPath() |
int |
hashCode() |
InputStream |
open()
Open an input stream to the resource.
|
String |
toString() |
static FileResource |
valueOf(String path) |
@Deprecated public FileResource(File file)
public FileResource(Path file)
public InputStream open() throws IOException
IResourceopen in interface IResourceIOException@Deprecated public File getFile()
public String getFileName()
public static FileResource valueOf(String path)
public Path getPath()