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 class
FSP2LProtoIndex.ItemType
-
Field Summary
Fields Modifier and Type Field Description private java.io.RandomAccessFile
file
private static java.lang.String
FILENAME
private static long
MAX_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 void
close()
static java.io.File
getIndexPath(FSFS fsfs, java.lang.String txnId)
static FSP2LProtoIndex
open(FSFS fsfs, java.lang.String txnId, boolean append)
FSP2LEntry
readEntry()
private int
readInt()
private long
readLong()
long
readNextOffset()
private long
readOffset()
void
writeEntry(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
-
-