org.apache.lucene.store.db
Class File
java.lang.Object
org.apache.lucene.store.db.File
public class File
- extends java.lang.Object
Constructor Summary |
protected |
File(DbDirectory directory,
java.lang.String name,
boolean create)
|
protected |
File(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected static java.util.Random random
key
protected DatabaseEntry key
data
protected DatabaseEntry data
length
protected long length
timeModified
protected long timeModified
name
protected java.lang.String name
uuid
protected byte[] uuid
File
protected File(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
File
protected File(DbDirectory directory,
java.lang.String name,
boolean create)
throws java.io.IOException
- Throws:
java.io.IOException
getName
protected java.lang.String getName()
getKey
protected byte[] getKey()
throws java.io.IOException
- Throws:
java.io.IOException
getLength
protected long getLength()
getTimeModified
protected long getTimeModified()
exists
protected boolean exists(DbDirectory directory)
throws java.io.IOException
- Throws:
java.io.IOException
modify
protected void modify(DbDirectory directory,
long length,
long timeModified)
throws java.io.IOException
- Throws:
java.io.IOException
delete
protected void delete(DbDirectory directory)
throws java.io.IOException
- Throws:
java.io.IOException
rename
protected void rename(DbDirectory directory,
java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.