Class FSInputStream
java.lang.Object
java.io.InputStream
org.tmatesoft.svn.core.internal.io.fs.FSInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate ByteBufferprivate intprivate SVNDeltaCombinerprivate MessageDigestprivate Stringprivate longprivate longprivate LinkedList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFSInputStream(SVNDeltaCombiner combiner, FSRepresentation representation, FSFS owner) -
Method Summary
Modifier and TypeMethodDescriptionbuildRepresentationList(FSRepresentation firstRep, LinkedList result, FSFS owner) voidclose()static InputStreamcreateDeltaStream(SVNDeltaCombiner combiner, FSRepresentation fileRep, FSFS owner) static InputStreamcreateDeltaStream(SVNDeltaCombiner combiner, FSRevisionNode fileNode, FSFS owner) private intgetContents(byte[] buffer, int offset, int length) intread()intread(byte[] buf, int offset, int length) private intreadContents(byte[] buf, int offset, int length) readRepresentationLine(FSFile file) Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
myRepStateList
-
myChunkIndex
private int myChunkIndex -
isChecksumFinalized
private boolean isChecksumFinalized -
myHexChecksum
-
myLength
private long myLength -
myOffset
private long myOffset -
myDigest
-
myBuffer
-
myCombiner
-
-
Constructor Details
-
FSInputStream
private FSInputStream(SVNDeltaCombiner combiner, FSRepresentation representation, FSFS owner) throws SVNException - Throws:
SVNException
-
-
Method Details
-
createDeltaStream
public static InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRevisionNode fileNode, FSFS owner) throws SVNException - Throws:
SVNException
-
createDeltaStream
public static InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRepresentation fileRep, FSFS owner) throws SVNException - Throws:
SVNException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
readContents
- Throws:
SVNException
-
getContents
- Throws:
SVNException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-
buildRepresentationList
private FSInputStream.FSRepresentationState buildRepresentationList(FSRepresentation firstRep, LinkedList result, FSFS owner) throws SVNException - Throws:
SVNException
-
readRepresentationLine
public static FSInputStream.FSRepresentationState readRepresentationLine(FSFile file) throws SVNException - Throws:
SVNException
-