T
- the type of object
that is extracted by this extractorpublic interface Extractor<T extends LocalAbstractObject>
objects
from binary data.Modifier and Type | Method and Description |
---|---|
T |
extract(ExtractorDataSource dataSource)
Extracts the
LocalAbstractObject from the specified binary data. |
java.lang.Class<? extends T> |
getExtractedClass()
Returns the object class extracted by this extractor.
|
T extract(ExtractorDataSource dataSource) throws ExtractorException, java.io.IOException
LocalAbstractObject
from the specified binary data.dataSource
- the source of binary data for the extractionExtractorException
- if the extractor encountered problem
extracting the object from the binary datajava.io.IOException
- if there was a problem reading data from the dataSource
java.lang.Class<? extends T> getExtractedClass()