Enum FileSVS.Type

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FileSVS.Type>
    Enclosing class:
    FileSVS

    public static enum FileSVS.Type
    extends java.lang.Enum<FileSVS.Type>
    Tiff Types.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ASCII
      7 bit ASCII
      BYTE
      8 bit unsigned
      DOUBLE
      double precision 8 byte IEEE format
      FLOAT
      single precision 4 byte IEEE format
      IFD
      The IFD type is identical to LONG, except that it is only used to point to other valid IFDs
      LONG
      32 bit unsigned, 4 bytes like C
      RATIONAL
      2 longs 1st numerator
      SBYTE
      8 bit signed
      SHORT
      16 bit unsigned
      SLONG
      32 bit signed, again only 4 bytes
      SRATIONAL
      signed rational with two longs, 1st numerator
      SSHORT
      16 bit signed
      UNDEFINED
      8 bit undefined
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int v6Num
      Number of type as specified by TIFF 6 format
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Type​(int v6Num)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FileSVS.Type getTypeFromNum​(int v6Num)  
      int getv6Num()  
      static FileSVS.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FileSVS.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • BYTE

        public static final FileSVS.Type BYTE
        8 bit unsigned
      • 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 Detail

      • v6Num

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

      • Type

        private Type​(int v6Num)
    • Method Detail

      • values

        public static FileSVS.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FileSVS.Type c : FileSVS.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FileSVS.Type valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getTypeFromNum

        public static FileSVS.Type getTypeFromNum​(int v6Num)
      • getv6Num

        public int getv6Num()