|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityProcessor
Interface implemented by classes that process an entity in a stream, where an entity is a self-delimiting part of a stream.
Method Summary | |
---|---|
boolean |
process(Stream stream)
Process data from the stream. |
Method Detail |
---|
boolean process(Stream stream)
StreamFilter.invoke(Stream)
,
except for the return value.
stream
- the stream containing the entity to process
true
if the end of the entity has been
reached. In this case, the implementation must set
the current position in the stream to the position
just after the last byte being part of the entity.
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |