FormatHandler
instead.public interface FormatHandler
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(byte[] data,
int off,
int len)
Deprecated.
Return a flag indicating whether the handler is able to handle the data.
|
InputStream |
getMetadata(InputStream in)
Deprecated.
Return metadata as in input stream (utility method).
|
BufferedImage |
getThumbnailImage(InputStream in)
Deprecated.
Return a thumbnail image from an input stream (utility method).
|
void |
process(InputStream in,
Context context)
Deprecated.
Process the input stream given.
|
boolean accepts(byte[] data, int off, int len)
data
- data bufferoff
- offsetlen
- number of valid bytestrue
if the handler is able to handle the data; false
otherwisevoid process(InputStream in, Context context) throws IOException
in
- input streamcontext
- call contextIOException
- if an I/O error occursBufferedImage getThumbnailImage(InputStream in) throws IOException, ProcessorException
in
- input streamnull
IOException
- if an I/O error occursProcessorException
- if a processor reports an errorInputStream getMetadata(InputStream in) throws IOException, ProcessorException
in
- input streamnull
IOException
- if an I/O error occursProcessorException
- if a processor reports an error"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"