public class ImageInputStreamAdapter extends InputStream
mark()
and reset()
are fully supported. The method available()
will
always return 0.构造器和说明 |
---|
ImageInputStreamAdapter(ImageInputStream iin)
Creates a new ImageInputStreamAdapter.
|
public ImageInputStreamAdapter(ImageInputStream iin)
iin
- the underlying ImageInputStreampublic int read(byte[] b, int off, int len) throws IOException
read
在类中 InputStream
IOException
public int read(byte[] b) throws IOException
read
在类中 InputStream
IOException
public int read() throws IOException
read
在类中 InputStream
IOException
public long skip(long n) throws IOException
skip
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public void mark(int readlimit)
mark
在类中 InputStream
public boolean markSupported()
markSupported
在类中 InputStream
public void reset() throws IOException
reset
在类中 InputStream
IOException
public int available() throws IOException
available
在类中 InputStream
IOException
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.