public class FSL2PProtoIndex
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
FSL2PProtoIndex(java.io.RandomAccessFile file) |
| Modifier and Type | Method and 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() |
public static FSL2PProtoIndex open(FSFS fsfs, java.lang.String txnId, boolean append) throws SVNException
SVNExceptionpublic static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic long getOffsetByItemIndex(long itemIndex)
throws SVNException
SVNExceptionpublic FSL2PEntry readEntry() throws SVNException
SVNExceptionpublic void addEntry(long offset,
long itemIndex)
throws SVNException
SVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.