public final class TempInputStream extends InputStream
Constructor and Description |
---|
TempInputStream(InputStream stream,
File temp)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long num) |
mark, markSupported, reset
public TempInputStream(InputStream stream, File temp)
stream
- Original streamtemp
- File instancepublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buf) throws IOException
read
in class InputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long num) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
Copyright © 2015–2018 Take. All rights reserved.