Class FSFile
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.FSFile
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteBufferprivate longprivate FileChannelprivate final byte[]private CharsetDecoderprivate MessageDigestprivate Fileprivate longprivate InputStreamprivate Stringprivate longprivate intprivate intprivate Stringprivate longprivate longprivate ByteBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidallocateReadBuffer(int limit) voidclose()digest()voidprivate intfill()private FileChannelgetFile()longlongprivate voidparseFooter(String footerString) longposition()intread()intread(byte[] buffer, int offset, int length) intread(ByteBuffer target) intreadInt()readLine(int limit) readLine(StringBuffer buffer) longreadLong()private intreadProperties(boolean allowEOF, boolean allowBinaryValues) private longprivate Stringvoidvoidseek(long position) longsize()
-
Field Details
-
myFile
-
myData
private final byte[] myData -
myOffset
private int myOffset -
myLength
private int myLength -
myChannel
-
myInputStream
-
myPosition
private long myPosition -
myBufferPosition
private long myBufferPosition -
myBuffer
-
myReadLineBuffer
-
myDecoder
-
myDigest
-
myL2POffset
private long myL2POffset -
myP2LOffset
private long myP2LOffset -
myL2PChecksum
-
myP2LChecksum
-
-
Constructor Details
-
FSFile
-
FSFile
public FSFile(byte[] data) -
FSFile
public FSFile(byte[] data, int offset, int length)
-
-
Method Details
-
seek
public void seek(long position) -
position
public long position() -
size
public long size() -
resetDigest
public void resetDigest() -
digest
-
readInt
- Throws:
SVNExceptionNumberFormatException
-
readLong
- Throws:
SVNExceptionNumberFormatException
-
readLine
- Throws:
SVNException
-
readLine
- Throws:
SVNException
-
readProperties
public SVNProperties readProperties(boolean allowEOF, boolean allowBinaryValues) throws SVNException - Throws:
SVNException
-
readHeader
- Throws:
SVNException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
getFile
-
close
public void close() -
fill
- Throws:
IOException
-
allocateReadBuffer
private void allocateReadBuffer(int limit) -
getChannel
- Throws:
IOException
-
readPathInfoFromReportFile
- Throws:
IOExceptionSVNException
-
readStringFromReportFile
- Throws:
IOException
-
readNumberFromReportFile
- Throws:
IOException
-
readRevisionFromReportFile
- Throws:
IOException
-
getL2POffset
public long getL2POffset() -
getP2LOffset
public long getP2LOffset()
-