Enum FileDicomTagInfo.StringType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BYTE_STRING
      A string with VR "OB" is stored in the tag's value.
      DATE
      Date/time data
      DOUBLE_STRING
      A string with VR "OD" is stored in the tag's value.
      FLOAT_STRING
      A string with VR "OF" is stored in the tag's value.
      LONG_STRING
      A string with VR "OL" is stored in the tag's value.
      SEQUENCE
      A sequence is encoded in the tag's value
      STRING
      A character string that may be possibly have further format specifications is stored in the tag's value
      TAG
      A dicom tag is stored in the tag's value
      UNKNOWN
      Data with VR "UN"
      UNSUPPORTED
      Data not supported by MIPAV is stored in the tag's value
      VERY_LONG_STRING
      A string with VR "OV" is stored in the tag's value.
      WORD_STRING
      A string with VR "OW" is stored in the tag's value.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] read​(byte[] data)  
      static FileDicomTagInfo.StringType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FileDicomTagInfo.StringType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      byte[] write​(java.lang.Object obj)  
      • 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
    • Constructor Detail

    • Method Detail

      • values

        public static FileDicomTagInfo.StringType[] 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 (FileDicomTagInfo.StringType c : FileDicomTagInfo.StringType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FileDicomTagInfo.StringType 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
      • read

        public java.lang.Object[] read​(byte[] data)
        Specified by:
        read in interface DicomType
      • write

        public byte[] write​(java.lang.Object obj)
        Specified by:
        write in interface DicomType