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
IOException
protected File(JEDirectory directory, String name, boolean create) throws IOException
IOException
protected String getName()
protected byte[] getKey() throws IOException
IOException
protected long getLength()
protected long getTimeModified()
protected boolean exists(JEDirectory directory) throws IOException
IOException
protected void modify(JEDirectory directory, long length, long timeModified) throws IOException
IOException
protected void delete(JEDirectory directory) throws IOException
IOException
protected void rename(JEDirectory directory, String name) throws IOException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.