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 void
addEntry(long offset, long itemIndex)
void
close()
static java.io.File
getIndexPath(FSFS fsfs, java.lang.String txnId)
long
getOffsetByItemIndex(long itemIndex)
static FSL2PProtoIndex
open(FSFS fsfs, java.lang.String txnId, boolean append)
FSL2PEntry
readEntry()
-
-
-
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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in 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
-
-