Interface IBinaryUnit

All Superinterfaces:
IEventSource, IUnit, IUnitCreator, IUserDataSupport
All Known Subinterfaces:
ICodeObjectUnit, IELFUnit, IPECOFFUnit, IS7Unit
All Known Implementing Classes:
AbstractBinaryUnit, AbstractCodeObjectUnit, AbstractCodeUnit, AbstractInteractiveBinaryUnit, BinaryWrapperUnit, UnknownBinaryUnit

public interface IBinaryUnit extends IUnit
Methods in this interface are specific to units that take binary data (bytes) as input.
  • Method Details

    • getMimeType

      String getMimeType()
      Retrieve the optional content-type for that unit.
      Returns:
      optional content-type
    • getInput

      IInput getInput()
      Get the input data for that unit.
      Specified by:
      getInput in interface IUnit
      Specified by:
      getInput in interface IUnitCreator
      Returns:
      a mandatory input object