org.apache.lucene.store.je
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(JEDirectory directory,
java.lang.String name,
boolean create) |
protected |
File(java.lang.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 java.lang.String |
getName() |
protected long |
getTimeModified() |
protected void |
modify(JEDirectory directory,
long length,
long timeModified) |
protected void |
rename(JEDirectory 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(JEDirectory 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(JEDirectory directory) throws java.io.IOException
java.io.IOException
protected void modify(JEDirectory directory, long length, long timeModified) throws java.io.IOException
java.io.IOException
protected void delete(JEDirectory directory) throws java.io.IOException
java.io.IOException
protected void rename(JEDirectory directory, java.lang.String name) throws java.io.IOException
java.io.IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.