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
SVNException
public static java.io.File getIndexPath(FSFS fsfs, java.lang.String txnId)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public long getOffsetByItemIndex(long itemIndex) throws SVNException
SVNException
public FSL2PEntry readEntry() throws SVNException
SVNException
public void addEntry(long offset, long itemIndex) throws SVNException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.