public class ValueRepresentation
extends java.lang.Object
Utilities to support the concept of the DICOM Value Representation (VR), including two byte arrays for each VR, and tester methods that determine whether or not a particular two byte array is a particular type of VR.
Modifier and Type | Field and Description |
---|---|
static byte[] |
AE |
static byte[] |
AS |
static byte[] |
AT |
static byte[] |
CS |
static byte[] |
DA |
static byte[] |
DS |
static byte[] |
DT |
static byte[] |
FD |
static byte[] |
FL |
static byte[] |
IS |
static byte[] |
LO |
static byte[] |
LT |
static byte[] |
OB |
static byte[] |
OD |
static byte[] |
OF |
static byte[] |
OL |
static byte[] |
OV |
static byte[] |
OW |
static byte[] |
OX |
static byte[] |
PN |
static byte[] |
SH |
static byte[] |
SL |
static byte[] |
SQ |
static byte[] |
SS |
static byte[] |
ST |
static byte[] |
SV |
static byte[] |
TM |
static byte[] |
UC |
static byte[] |
UI |
static byte[] |
UL |
static byte[] |
UN |
static byte[] |
UR |
static byte[] |
US |
static byte[] |
UT |
static byte[] |
UV |
static byte[] |
XO |
static byte[] |
XS |
Constructor and Description |
---|
ValueRepresentation() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAsString(byte[] vr) |
static byte[] |
getValueRepresentationFromString(java.lang.String vrs) |
static int |
getWordLengthOfValueAffectedByEndianness(byte[] vr)
Get the length of the "word" corresponding to an individual value for this VR,
such as may be needed when swapping the endianness of values.
|
static boolean |
isAffectedBySpecificCharacterSet(byte[] vr) |
static boolean |
isAgeStringVR(byte[] vr) |
static boolean |
isApplicationEntityVR(byte[] vr) |
static boolean |
isAttributeTagVR(byte[] vr) |
static boolean |
isBase64EncodedInJSON(byte[] vr) |
static boolean |
isCodeStringVR(byte[] vr) |
static boolean |
isDateTimeVR(byte[] vr) |
static boolean |
isDateVR(byte[] vr) |
static boolean |
isDecimalNumberInJSON(byte[] vr) |
static boolean |
isDecimalStringVR(byte[] vr) |
static boolean |
isFloatDoubleVR(byte[] vr) |
static boolean |
isFloatSingleVR(byte[] vr) |
static boolean |
isIntegerNumberInJSON(byte[] vr) |
static boolean |
isIntegerStringVR(byte[] vr) |
static boolean |
isLongStringVR(byte[] vr) |
static boolean |
isLongTextVR(byte[] vr) |
static boolean |
isNumberInJSON(byte[] vr) |
static boolean |
isOtherByteOrWordVR(byte[] vr) |
static boolean |
isOtherByteVR(byte[] vr) |
static boolean |
isOtherDoubleVR(byte[] vr) |
static boolean |
isOtherFloatVR(byte[] vr) |
static boolean |
isOtherLongVR(byte[] vr) |
static boolean |
isOtherUnspecifiedVR(byte[] vr) |
static boolean |
isOtherVeryLongVR(byte[] vr) |
static boolean |
isOtherWordVR(byte[] vr) |
static boolean |
isPersonNameVR(byte[] vr) |
static boolean |
isSequenceVR(byte[] vr) |
static boolean |
isShortStringVR(byte[] vr) |
static boolean |
isShortTextVR(byte[] vr) |
static boolean |
isShortValueLengthVR(byte[] vr) |
static boolean |
isSignedLongVR(byte[] vr) |
static boolean |
isSignedShortVR(byte[] vr) |
static boolean |
isSignedVeryLongVR(byte[] vr) |
static boolean |
isStringInJSON(byte[] vr) |
static boolean |
isTimeVR(byte[] vr) |
static boolean |
isUniqueIdentifierVR(byte[] vr) |
static boolean |
isUniversalResourceVR(byte[] vr) |
static boolean |
isUnknownVR(byte[] vr) |
static boolean |
isUnlimitedCharactersVR(byte[] vr) |
static boolean |
isUnlimitedTextVR(byte[] vr) |
static boolean |
isUnsignedLongVR(byte[] vr) |
static boolean |
isUnsignedShortVR(byte[] vr) |
static boolean |
isUnsignedVeryLongVR(byte[] vr) |
static boolean |
isUnspecifiedShortOrOtherWordVR(byte[] vr) |
static boolean |
isUnspecifiedShortVR(byte[] vr) |
public static byte[] AE
public static byte[] AS
public static byte[] AT
public static byte[] CS
public static byte[] DA
public static byte[] DS
public static byte[] DT
public static byte[] FD
public static byte[] FL
public static byte[] IS
public static byte[] LO
public static byte[] LT
public static byte[] OB
public static byte[] OD
public static byte[] OF
public static byte[] OL
public static byte[] OV
public static byte[] OW
public static byte[] OX
public static byte[] PN
public static byte[] SH
public static byte[] SL
public static byte[] SQ
public static byte[] SS
public static byte[] ST
public static byte[] SV
public static byte[] TM
public static byte[] UC
public static byte[] UI
public static byte[] UL
public static byte[] UN
public static byte[] UR
public static byte[] US
public static byte[] UT
public static byte[] UV
public static byte[] XO
public static byte[] XS
public static final java.lang.String getAsString(byte[] vr)
vr
- public static final byte[] getValueRepresentationFromString(java.lang.String vrs)
vrs
- public static final int getWordLengthOfValueAffectedByEndianness(byte[] vr)
Get the length of the "word" corresponding to an individual value for this VR, such as may be needed when swapping the endianness of values.
vr
- public static final boolean isAffectedBySpecificCharacterSet(byte[] vr)
vr
- public static final boolean isAgeStringVR(byte[] vr)
vr
- public static final boolean isApplicationEntityVR(byte[] vr)
vr
- public static final boolean isAttributeTagVR(byte[] vr)
vr
- public static final boolean isBase64EncodedInJSON(byte[] vr)
vr
- public static final boolean isCodeStringVR(byte[] vr)
vr
- public static final boolean isDateTimeVR(byte[] vr)
vr
- public static final boolean isDateVR(byte[] vr)
vr
- public static final boolean isDecimalNumberInJSON(byte[] vr)
vr
- public static final boolean isDecimalStringVR(byte[] vr)
vr
- public static final boolean isFloatDoubleVR(byte[] vr)
vr
- public static final boolean isFloatSingleVR(byte[] vr)
vr
- public static final boolean isIntegerNumberInJSON(byte[] vr)
vr
- public static final boolean isIntegerStringVR(byte[] vr)
vr
- public static final boolean isLongStringVR(byte[] vr)
vr
- public static final boolean isLongTextVR(byte[] vr)
vr
- public static final boolean isNumberInJSON(byte[] vr)
vr
- public static final boolean isOtherByteOrWordVR(byte[] vr)
vr
- public static final boolean isOtherByteVR(byte[] vr)
vr
- public static final boolean isOtherDoubleVR(byte[] vr)
vr
- public static final boolean isOtherFloatVR(byte[] vr)
vr
- public static final boolean isOtherLongVR(byte[] vr)
vr
- public static final boolean isOtherUnspecifiedVR(byte[] vr)
vr
- public static final boolean isOtherVeryLongVR(byte[] vr)
vr
- public static final boolean isOtherWordVR(byte[] vr)
vr
- public static final boolean isPersonNameVR(byte[] vr)
vr
- public static final boolean isSequenceVR(byte[] vr)
vr
- public static final boolean isShortStringVR(byte[] vr)
vr
- public static final boolean isShortTextVR(byte[] vr)
vr
- public static final boolean isShortValueLengthVR(byte[] vr)
vr
- public static final boolean isSignedLongVR(byte[] vr)
vr
- public static final boolean isSignedShortVR(byte[] vr)
vr
- public static final boolean isSignedVeryLongVR(byte[] vr)
vr
- public static final boolean isStringInJSON(byte[] vr)
vr
- public static final boolean isTimeVR(byte[] vr)
vr
- public static final boolean isUniqueIdentifierVR(byte[] vr)
vr
- public static final boolean isUniversalResourceVR(byte[] vr)
vr
- public static final boolean isUnknownVR(byte[] vr)
vr
- public static final boolean isUnlimitedCharactersVR(byte[] vr)
vr
- public static final boolean isUnlimitedTextVR(byte[] vr)
vr
- public static final boolean isUnsignedLongVR(byte[] vr)
vr
- public static final boolean isUnsignedShortVR(byte[] vr)
vr
- public static final boolean isUnsignedVeryLongVR(byte[] vr)
vr
- public static final boolean isUnspecifiedShortOrOtherWordVR(byte[] vr)
vr
- public static final boolean isUnspecifiedShortVR(byte[] vr)
vr
-