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