ImageBinary
this class has been deprecated as it exposes
Binary.getStream()
which is far more convenient to use.@Deprecated public class ReusableInputStream extends BufferedInputStream
ImageMetaData
to able to parse the
InputStream twice (which is required when trying to detect YCCK or CMYK as Sanselan marks both as CMYK.in
Constructor and Description |
---|
ReusableInputStream(InputStream in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
canBeClosed()
Deprecated.
|
void |
close()
Deprecated.
|
available, mark, markSupported, read, read, reset, skip
read
public ReusableInputStream(InputStream in)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class BufferedInputStream
IOException
public void canBeClosed()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.