Enum FileTiff.Type

java.lang.Object
java.lang.Enum<FileTiff.Type>
gov.nih.mipav.model.file.FileTiff.Type
All Implemented Interfaces:
Serializable, Comparable<FileTiff.Type>, java.lang.constant.Constable
Enclosing class:
FileTiff

public static enum FileTiff.Type extends Enum<FileTiff.Type>
Tiff Types.
  • Enum Constant Details

    • BYTE

      public static final FileTiff.Type BYTE
      8 bit unsigned
    • ASCII

      public static final FileTiff.Type ASCII
      7 bit ASCII
    • SHORT

      public static final FileTiff.Type SHORT
      16 bit unsigned
    • LONG

      public static final FileTiff.Type LONG
      32 bit unsigned, 4 bytes like C
    • RATIONAL

      public static final FileTiff.Type RATIONAL
      2 longs 1st numerator
    • SBYTE

      public static final FileTiff.Type SBYTE
      8 bit signed
    • UNDEFINED

      public static final FileTiff.Type UNDEFINED
      8 bit undefined
    • SSHORT

      public static final FileTiff.Type SSHORT
      16 bit signed
    • SLONG

      public static final FileTiff.Type SLONG
      32 bit signed, again only 4 bytes
    • SRATIONAL

      public static final FileTiff.Type SRATIONAL
      signed rational with two longs, 1st numerator
    • FLOAT

      public static final FileTiff.Type FLOAT
      single precision 4 byte IEEE format
    • DOUBLE

      public static final FileTiff.Type DOUBLE
      double precision 8 byte IEEE format
    • IFD

      public static final FileTiff.Type IFD
      The IFD type is identical to LONG, except that it is only used to point to other valid IFDs
  • Field Details

    • v6Num

      private int v6Num
      Number of type as specified by TIFF 6 format
  • Constructor Details

    • Type

      private Type(int v6Num)
  • Method Details

    • values

      public static FileTiff.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FileTiff.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getTypeFromNum

      public static FileTiff.Type getTypeFromNum(int v6Num)
    • getv6Num

      public int getv6Num()