UBinary


package liburbi.main;

public enum UBinaryType {
  BINARY_NONE,
  BINARY_UNKNOWN,
  BINARY_IMAGE,
  BINARY_SOUND;
}

public class UBinary {

  public UBinaryType getType();

  /// value if of type BINARY_IMAGE
  public UImage getUImage();

  /// value if of type BINARY_SOUND
  public USound getUSound();

  /// Size of the data
  public int getSize();

  public String getMessage();
  public String getExtraHeader();
}