public class XapThumbnailsProcessor extends Object implements Processor, FilterStateListener
Context.| Constructor and Description |
|---|
XapThumbnailsProcessor(Context context)
Create a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ended(Filter filter,
OutputStream out)
Invoked when the filter detects the end of a section.
|
void |
process(byte[] buf,
int off,
int len)
Process a couple of bytes.
|
OutputStream |
started(Filter filter)
Invoked when the filter detects the start of a section it understands.
|
public XapThumbnailsProcessor(Context context)
context - contextpublic final void process(byte[] buf,
int off,
int len)
throws IOException
process in interface Processorbuf - bufferoff - offset inside bufferlen - number of bytesIOException - thrown in event of failure to process the bytespublic OutputStream started(Filter filter)
started in interface FilterStateListenerfilter - filternullpublic void ended(Filter filter, OutputStream out)
ended in interface FilterStateListenerfilter - filterout - output stream returned from FilterStateListener.started(Filter)
or nullCopyright © 2010 - 2020 Adobe. All Rights Reserved