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 boolean
private ByteBuffer
private int
private SVNDeltaCombiner
private MessageDigest
private String
private long
private long
private LinkedList
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FSInputStream
(SVNDeltaCombiner combiner, FSRepresentation representation, FSFS owner) -
Method Summary
Modifier and TypeMethodDescriptionbuildRepresentationList
(FSRepresentation firstRep, LinkedList result, FSFS owner) void
close()
static InputStream
createDeltaStream
(SVNDeltaCombiner combiner, FSRepresentation fileRep, FSFS owner) static InputStream
createDeltaStream
(SVNDeltaCombiner combiner, FSRevisionNode fileNode, FSFS owner) private int
getContents
(byte[] buffer, int offset, int length) int
read()
int
read
(byte[] buf, int offset, int length) private int
readContents
(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:
read
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
readContents
- Throws:
SVNException
-
getContents
- Throws:
SVNException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in 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
-