com.baidubce.internal
Class RestartableNonResettableInputStream
java.lang.Object
java.io.InputStream
com.baidubce.internal.RestartableInputStream
com.baidubce.internal.RestartableNonResettableInputStream
- All Implemented Interfaces:
- Closeable
public class RestartableNonResettableInputStream
- extends RestartableInputStream
The Restartable InputStream can not reset.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestartableNonResettableInputStream
public RestartableNonResettableInputStream(InputStream input,
int bufferSize)
restart
public void restart()
- Specified by:
restart
in class RestartableInputStream
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
Copyright © 2018. All rights reserved.