| java.lang.Object | ||
| ↳ | com.pnfsoftware.jeb.core.units.impl.WrapperUnit<T extends com.pnfsoftware.jeb.core.units.IUnit> | |
| ↳ | com.pnfsoftware.jeb.core.units.impl.BinaryWrapperUnit | |
Simple wrapper/decorator for IBinaryUnit
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BinaryWrapperUnit(IBinaryUnit unit, IUnitProvider provider) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int |
getConsummedSize()
Get the number of bytes consumed by the unit after processing.
| ||||||||||
| IInput |
getInput()
Get the input data for that unit.
| ||||||||||
| String |
getMimeType()
Retrieve the optional content-type for that unit.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.impl.WrapperUnit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.pnfsoftware.jeb.core.IUnitCreator
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.pnfsoftware.jeb.core.units.IBinaryUnit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.pnfsoftware.jeb.core.units.IUnit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.pnfsoftware.jeb.corei.IWrap
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unit | IUnit to be delegated |
|---|---|
| provider | provider that extends the unit behavior |
Get the number of bytes consumed by the unit after processing. The implementation is optional, binary units are allowed to return 0.
Retrieve the optional content-type for that unit.
