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 SVNSpillBufferbufferprivate byte[]saveBufferprivate intsaveLengthprivate intsavePointerprivate intsavePositionprivate byte[]sbBufferprivate intsbLengthprivate intsbPointer
-
Constructor Summary
Constructors Constructor Description SVNSpillBufferReader(SVNSpillBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread(byte[] data, int offset, int length)charreadChar()voidwrite(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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-