Class SVNSpillBufferInputStream
java.lang.Object
java.io.InputStream
org.tmatesoft.svn.core.internal.util.SVNSpillBufferInputStream
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SVNSpillBufferInputStream
extends java.io.InputStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
reader
-
byteBuffer
private final byte[] byteBuffer
-
-
Constructor Details
-
SVNSpillBufferInputStream
-
-
Method Details
-
read
public int read() throws java.io.IOException- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] bytes) throws java.io.IOException - Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] bytes, int offset, int length) throws java.io.IOException - Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.InputStream
-