public class FSInputStream
extends java.io.InputStream
| Modifier and Type | Class and Description |
|---|---|
static class |
FSInputStream.FSRepresentationState |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isChecksumFinalized |
private java.nio.ByteBuffer |
myBuffer |
private int |
myChunkIndex |
private SVNDeltaCombiner |
myCombiner |
private java.security.MessageDigest |
myDigest |
private java.lang.String |
myHexChecksum |
private long |
myLength |
private long |
myOffset |
private java.util.LinkedList |
myRepStateList |
| Modifier | Constructor and Description |
|---|---|
private |
FSInputStream(SVNDeltaCombiner combiner,
FSRepresentation representation,
FSFS owner) |
| Modifier and Type | Method and Description |
|---|---|
private FSInputStream.FSRepresentationState |
buildRepresentationList(FSRepresentation firstRep,
java.util.LinkedList result,
FSFS owner) |
void |
close() |
static java.io.InputStream |
createDeltaStream(SVNDeltaCombiner combiner,
FSRepresentation fileRep,
FSFS owner) |
static java.io.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) |
static FSInputStream.FSRepresentationState |
readRepresentationLine(FSFile file) |
private java.util.LinkedList myRepStateList
private int myChunkIndex
private boolean isChecksumFinalized
private java.lang.String myHexChecksum
private long myLength
private long myOffset
private java.security.MessageDigest myDigest
private java.nio.ByteBuffer myBuffer
private SVNDeltaCombiner myCombiner
private FSInputStream(SVNDeltaCombiner combiner, FSRepresentation representation, FSFS owner) throws SVNException
SVNExceptionpublic static java.io.InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRevisionNode fileNode, FSFS owner) throws SVNException
SVNExceptionpublic static java.io.InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRepresentation fileRep, FSFS owner) throws SVNException
SVNExceptionpublic int read(byte[] buf,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionprivate int readContents(byte[] buf,
int offset,
int length)
throws SVNException
SVNExceptionprivate int getContents(byte[] buffer,
int offset,
int length)
throws SVNException
SVNExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamprivate FSInputStream.FSRepresentationState buildRepresentationList(FSRepresentation firstRep, java.util.LinkedList result, FSFS owner) throws SVNException
SVNExceptionpublic static FSInputStream.FSRepresentationState readRepresentationLine(FSFile file) throws SVNException
SVNException