Package org.aoju.bus.image.galaxy.data
Enum Class StringValueType
- All Implemented Interfaces:
Serializable,Comparable<StringValueType>,Constable,ValueType
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionprotected SpecificCharacterSetbooleanbooleanbooleanintbooleanprompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) protected Objectbyte[]toBytes(Object val, SpecificCharacterSet cs) Date[]toDate(Object val, TimeZone tz, boolean ceil, DatePrecision precisions) toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision) doubledouble[]floatfloat[]byte[]toggleEndian(byte[] b, boolean preserve) intint[]protected ObjecttoStrings(Object val, boolean bigEndian, SpecificCharacterSet cs) toValue(byte[] b) toValue(double[] ds, boolean bigEndian) toValue(float[] fs, boolean bigEndian) toValue(int[] is, boolean bigEndian) toValue(Date[] ds, TimeZone tz, DatePrecision precision) booleanstatic StringValueTypeReturns the enum constant of this class with the specified name.static StringValueType[]values()Returns an array containing the constants of this enum class, in the order they are declared.int
-
Enum Constant Details
-
ASCII
-
STRING
-
TEXT
-
UR
-
DA
-
DT
-
TM
-
PN
-
DS
-
IS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isStringValue
public boolean isStringValue()- Specified by:
isStringValuein interfaceValueType
-
isIntValue
public boolean isIntValue()- Specified by:
isIntValuein interfaceValueType
-
isTemporalType
public boolean isTemporalType()- Specified by:
isTemporalTypein interfaceValueType
-
numEndianBytes
public int numEndianBytes()- Specified by:
numEndianBytesin interfaceValueType
-
toggleEndian
public byte[] toggleEndian(byte[] b, boolean preserve) - Specified by:
toggleEndianin interfaceValueType
-
useSpecificCharacterSet
public boolean useSpecificCharacterSet()- Specified by:
useSpecificCharacterSetin interfaceValueType
-
cs
-
toBytes
-
toString
-
toStrings
-
splitAndTrim
-
toInt
-
toInts
-
toFloat
-
toFloats
-
toDouble
-
toDoubles
-
toDate
-
toDate
-
toValue
-
toValue
-
toMultiValue
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
prompt
public boolean prompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) -
vmOf
-