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
SVNException
public static java.io.InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRevisionNode fileNode, FSFS owner) throws SVNException
SVNException
public static java.io.InputStream createDeltaStream(SVNDeltaCombiner combiner, FSRepresentation fileRep, FSFS owner) throws SVNException
SVNException
public int read(byte[] buf, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
private int readContents(byte[] buf, int offset, int length) throws SVNException
SVNException
private int getContents(byte[] buffer, int offset, int length) throws SVNException
SVNException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
private FSInputStream.FSRepresentationState buildRepresentationList(FSRepresentation firstRep, java.util.LinkedList result, FSFS owner) throws SVNException
SVNException
public static FSInputStream.FSRepresentationState readRepresentationLine(FSFile file) throws SVNException
SVNException