public class File extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseEntry |
data |
protected DatabaseEntry |
key |
protected long |
length |
protected String |
name |
protected static Random |
random |
protected long |
timeModified |
protected byte[] |
uuid |
| Modifier | Constructor and Description |
|---|---|
protected |
File(JEDirectory directory,
String name,
boolean create) |
protected |
File(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delete(JEDirectory directory) |
protected boolean |
exists(JEDirectory directory) |
protected byte[] |
getKey() |
protected long |
getLength() |
protected String |
getName() |
protected long |
getTimeModified() |
protected void |
modify(JEDirectory directory,
long length,
long timeModified) |
protected void |
rename(JEDirectory directory,
String name) |
protected static Random random
protected DatabaseEntry key
protected DatabaseEntry data
protected long length
protected long timeModified
protected String name
protected byte[] uuid
protected File(String name) throws IOException
IOExceptionprotected File(JEDirectory directory, String name, boolean create) throws IOException
IOExceptionprotected String getName()
protected byte[] getKey()
throws IOException
IOExceptionprotected long getLength()
protected long getTimeModified()
protected boolean exists(JEDirectory directory) throws IOException
IOExceptionprotected void modify(JEDirectory directory, long length, long timeModified) throws IOException
IOExceptionprotected void delete(JEDirectory directory) throws IOException
IOExceptionprotected void rename(JEDirectory directory, String name) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.