Class FSP2LProtoIndex
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.index.FSP2LProtoIndex
-
public class FSP2LProtoIndex extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFSP2LProtoIndex.ItemType
-
Field Summary
Fields Modifier and Type Field Description private java.io.RandomAccessFilefileprivate static java.lang.StringFILENAMEprivate static longMAX_OFFSET
-
Constructor Summary
Constructors Constructor Description FSP2LProtoIndex(java.io.RandomAccessFile file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static java.io.FilegetIndexPath(FSFS fsfs, java.lang.String txnId)static FSP2LProtoIndexopen(FSFS fsfs, java.lang.String txnId, boolean append)FSP2LEntryreadEntry()private intreadInt()private longreadLong()longreadNextOffset()private longreadOffset()voidwriteEntry(FSP2LEntry entry)
-
-
-
Field Detail
-
MAX_OFFSET
private static final long MAX_OFFSET
- See Also:
- Constant Field Values
-
FILENAME
private static final java.lang.String FILENAME
- See Also:
- Constant Field Values
-
file
private final java.io.RandomAccessFile file
-
-
Method Detail
-
open
public static FSP2LProtoIndex open(FSFS fsfs, java.lang.String txnId, boolean append) throws SVNException
- Throws:
SVNException
-
getIndexPath
public static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
-
close
public void close()
-
readEntry
public FSP2LEntry readEntry() throws SVNException
- Throws:
SVNException
-
writeEntry
public void writeEntry(FSP2LEntry entry) throws SVNException
- Throws:
SVNException
-
readNextOffset
public long readNextOffset() throws SVNException- Throws:
SVNException
-
readInt
private int readInt() throws SVNException- Throws:
SVNException
-
readOffset
private long readOffset() throws SVNException- Throws:
SVNException
-
readLong
private long readLong() throws SVNException- Throws:
SVNException
-
-