| Modifier and Type | Field and Description |
|---|---|
protected long |
lastModified |
protected long |
length |
protected Path |
path |
| Modifier | Constructor and Description |
|---|---|
protected |
FileWrapper() |
|
FileWrapper(File file) |
|
FileWrapper(Path path) |
|
FileWrapper(String filename) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFilename() |
long |
getLastModified() |
long |
getLength() |
private void |
init() |
protected Path path
protected long length
protected long lastModified
protected FileWrapper()
public FileWrapper(String filename) throws IOException
IOExceptionpublic FileWrapper(File file) throws IOException
IOExceptionpublic FileWrapper(Path path) throws IOException
IOExceptionprivate void init()
throws IOException
IOExceptionpublic String getFilename()
public long getLength()
public long getLastModified()