Package gov.nih.mipav.model.file
Enum FileDicomTagInfo.StringType
- java.lang.Object
-
- java.lang.Enum<FileDicomTagInfo.StringType>
-
- gov.nih.mipav.model.file.FileDicomTagInfo.StringType
-
- All Implemented Interfaces:
DicomType
,java.io.Serializable
,java.lang.Comparable<FileDicomTagInfo.StringType>
- Enclosing class:
- FileDicomTagInfo
public static enum FileDicomTagInfo.StringType extends java.lang.Enum<FileDicomTagInfo.StringType> implements DicomType
-
-
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 dataDOUBLE_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 valueSTRING
A character string that may be possibly have further format specifications is stored in the tag's valueTAG
A dicom tag is stored in the tag's valueUNKNOWN
Data with VR "UN"UNSUPPORTED
Data not supported by MIPAV is stored in the tag's valueVERY_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.
-
Constructor Summary
Constructors Modifier Constructor Description private
StringType(java.lang.String name, FileDicomTagInfo.VR... v)
-
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)
-
-
-
Enum Constant Detail
-
STRING
public static final FileDicomTagInfo.StringType STRING
A character string that may be possibly have further format specifications is stored in the tag's value
-
BYTE_STRING
public static final FileDicomTagInfo.StringType BYTE_STRING
A string with VR "OB" is stored in the tag's value.
-
WORD_STRING
public static final FileDicomTagInfo.StringType WORD_STRING
A string with VR "OW" is stored in the tag's value.
-
LONG_STRING
public static final FileDicomTagInfo.StringType LONG_STRING
A string with VR "OL" is stored in the tag's value.
-
VERY_LONG_STRING
public static final FileDicomTagInfo.StringType VERY_LONG_STRING
A string with VR "OV" is stored in the tag's value.
-
FLOAT_STRING
public static final FileDicomTagInfo.StringType FLOAT_STRING
A string with VR "OF" is stored in the tag's value.
-
DOUBLE_STRING
public static final FileDicomTagInfo.StringType DOUBLE_STRING
A string with VR "OD" is stored in the tag's value.
-
SEQUENCE
public static final FileDicomTagInfo.StringType SEQUENCE
A sequence is encoded in the tag's value
-
TAG
public static final FileDicomTagInfo.StringType TAG
A dicom tag is stored in the tag's value
-
UNKNOWN
public static final FileDicomTagInfo.StringType UNKNOWN
Data with VR "UN"
-
UNSUPPORTED
public static final FileDicomTagInfo.StringType UNSUPPORTED
Data not supported by MIPAV is stored in the tag's value
-
DATE
public static final FileDicomTagInfo.StringType DATE
Date/time data
-
-
Constructor Detail
-
StringType
private StringType(java.lang.String name, FileDicomTagInfo.VR... v)
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-