Enum FileSVS.Type

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

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

    • BYTE

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

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

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

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

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

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

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

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

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

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

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

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

      public static final FileSVS.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 FileSVS.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 FileSVS.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 FileSVS.Type getTypeFromNum(int v6Num)
    • getv6Num

      public int getv6Num()