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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
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.