Class SVNSpillBufferReader
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.util.SVNSpillBufferReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SVNSpillBufferReader extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description private SVNSpillBuffer
buffer
private byte[]
saveBuffer
private int
saveLength
private int
savePointer
private int
savePosition
private byte[]
sbBuffer
private int
sbLength
private int
sbPointer
-
Constructor Summary
Constructors Constructor Description SVNSpillBufferReader(SVNSpillBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read(byte[] data, int offset, int length)
char
readChar()
void
write(byte[] data, int offset, int length)
-
-
-
Field Detail
-
buffer
private final SVNSpillBuffer buffer
-
saveBuffer
private byte[] saveBuffer
-
savePointer
private int savePointer
-
savePosition
private int savePosition
-
saveLength
private int saveLength
-
sbBuffer
private byte[] sbBuffer
-
sbPointer
private int sbPointer
-
sbLength
private int sbLength
-
-
Constructor Detail
-
SVNSpillBufferReader
public SVNSpillBufferReader(SVNSpillBuffer buffer)
-
-
Method Detail
-
read
public int read(byte[] data, int offset, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
readChar
public char readChar() throws SVNException
- Throws:
SVNException
-
write
public void write(byte[] data, int offset, int length)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-