|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransformPolicy
A TransformPolicy represents a policy that controls how StreamTransformer
transform LazyTransformedInputStream.
For instance, a policy would be transform all the bytes of the stream without waiting for some
object to be requested.
| Method Summary | |
|---|---|
void |
initialize(LazyTransformedInputStream lazyTransformedInputStream)
Initialize this policy with the corresponding lazyTransformedInputStream |
void |
readRequest(long nroOfBytes)
Notifies this policy that the object has requested nroOfBytes |
void |
release()
Releases all the resources of this policy |
| Method Detail |
|---|
void initialize(LazyTransformedInputStream lazyTransformedInputStream)
lazyTransformedInputStream - void release()
void readRequest(long nroOfBytes)
nroOfBytes - the nro of bytes requested by the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||