|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.phleisch.app.itsucks.processing.impl.AbstractDataProcessor
de.phleisch.app.itsucks.processing.impl.AbstractDataParser
de.phleisch.app.itsucks.processing.download.http.impl.ContentParser
public class ContentParser
| Field Summary |
|---|
| Fields inherited from class de.phleisch.app.itsucks.processing.impl.AbstractDataProcessor |
|---|
mChain |
| Constructor Summary | |
|---|---|
ContentParser()
|
|
| Method Summary | |
|---|---|
boolean |
canResume()
Supports this data processor resuming? |
void |
finish()
Shutdown the data processor. |
void |
init()
Initializes the data processor. |
boolean |
isConsumer()
'Consumes' (saves, parses etc.) this processor to the data or is it only an filter? |
boolean |
needsDataAsWholeChunk()
Asks the processor if it needs the data from the data retriever in one chunk and not in multiple pieces. |
DataChunk |
process(DataChunk pDataChunk)
Processes the given data chunk. |
void |
resumeAt(long pByteOffset)
Resumes the processing at the given position. |
boolean |
supports(Job pJob)
Returns true if this processor supports the given type of job. |
| Methods inherited from class de.phleisch.app.itsucks.processing.impl.AbstractDataProcessor |
|---|
abort, getProcessorChain, rollback, setProcessorChain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.phleisch.app.itsucks.processing.DataProcessor |
|---|
abort, rollback, setProcessorChain |
| Constructor Detail |
|---|
public ContentParser()
| Method Detail |
|---|
public boolean supports(Job pJob)
DataProcessor
supports in interface DataProcessorsupports in class AbstractDataProcessor
public void init()
throws ProcessingException
DataProcessor
init in interface DataProcessorinit in class AbstractDataProcessorProcessingExceptionpublic void finish()
DataProcessor
finish in interface DataProcessorfinish in class AbstractDataProcessor
public DataChunk process(DataChunk pDataChunk)
throws ProcessingException
DataProcessor
process in interface DataProcessorProcessingExceptionpublic boolean needsDataAsWholeChunk()
DataProcessor
needsDataAsWholeChunk in interface DataProcessorpublic boolean isConsumer()
DataProcessor
isConsumer in interface DataProcessorpublic boolean canResume()
DataProcessor
canResume in interface DataProcessorpublic void resumeAt(long pByteOffset)
DataProcessor
resumeAt in interface DataProcessorpByteOffset - The offset position in bytes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||