Class FSL2PProtoIndex
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.index.FSL2PProtoIndex
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class FSL2PProtoIndex extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description FSL2PProtoIndex(java.io.RandomAccessFile file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(long offset, long itemIndex)voidclose()static java.io.FilegetIndexPath(FSFS fsfs, java.lang.String txnId)longgetOffsetByItemIndex(long itemIndex)static FSL2PProtoIndexopen(FSFS fsfs, java.lang.String txnId, boolean append)FSL2PEntryreadEntry()
-
-
-
Method Detail
-
open
public static FSL2PProtoIndex 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()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
getOffsetByItemIndex
public long getOffsetByItemIndex(long itemIndex) throws SVNException- Throws:
SVNException
-
readEntry
public FSL2PEntry readEntry() throws SVNException
- Throws:
SVNException
-
addEntry
public void addEntry(long offset, long itemIndex) throws SVNException- Throws:
SVNException
-
-