Package org.aoju.bus.image.galaxy.data
Interface ValueType
- All Known Implementing Classes:
BinaryValueType,SequenceValueType,StringValueType
public interface ValueType
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanintbooleanprompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) byte[]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[]toStrings(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) booleanint
-
Method Details
-
isStringValue
boolean isStringValue() -
useSpecificCharacterSet
boolean useSpecificCharacterSet() -
isIntValue
boolean isIntValue() -
isTemporalType
boolean isTemporalType() -
numEndianBytes
int numEndianBytes() -
toggleEndian
byte[] toggleEndian(byte[] b, boolean preserve) -
toBytes
-
toString
-
toStrings
-
toInt
-
toInts
-
toFloat
-
toFloats
-
toDouble
-
toDoubles
-
toDate
Date toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision) -
toDate
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
prompt
boolean prompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) -
vmOf
-