org.apache.lucene.store.db

Class File

public class File extends Object

Author: Andi Vajda

Field Summary
protected DatabaseEntrydata
protected DatabaseEntrykey
protected longlength
protected Stringname
protected static Randomrandom
protected longtimeModified
protected byte[]uuid
Constructor Summary
protected File(String name)
protected File(DbDirectory directory, String name, boolean create)
Method Summary
protected voiddelete(DbDirectory directory)
protected booleanexists(DbDirectory directory)
protected byte[]getKey()
protected longgetLength()
protected StringgetName()
protected longgetTimeModified()
protected voidmodify(DbDirectory directory, long length, long timeModified)
protected voidrename(DbDirectory directory, String name)

Field Detail

data

protected DatabaseEntry data

key

protected DatabaseEntry key

length

protected long length

name

protected String name

random

protected static Random random

timeModified

protected long timeModified

uuid

protected byte[] uuid

Constructor Detail

File

protected File(String name)

File

protected File(DbDirectory directory, String name, boolean create)

Method Detail

delete

protected void delete(DbDirectory directory)

exists

protected boolean exists(DbDirectory directory)

getKey

protected byte[] getKey()

getLength

protected long getLength()

getName

protected String getName()

getTimeModified

protected long getTimeModified()

modify

protected void modify(DbDirectory directory, long length, long timeModified)

rename

protected void rename(DbDirectory directory, String name)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.