Class TbcdStringConverter
java.lang.Object
org.apache.nifi.jasn1.convert.converters.TbcdStringConverter
- All Implemented Interfaces:
JASN1TypeAndValueConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Stringprivate static final char[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertType(Class<?> berType, JASN1Converter converter) convertValue(com.beanit.asn1bean.ber.types.BerType value, DataType dataType, JASN1Converter converter) private voidinvalidFiller(int octetIndex, int octet) private voidinvalidInteger(int digit) private booleanisTbcdString(Class<?> berType) booleansupportsType(Class<?> berType) booleansupportsValue(com.beanit.asn1bean.ber.types.BerType value, DataType dataType)
-
Field Details
-
TBCD_STRING_TYPE
- See Also:
-
TBCD_SYMBOLS
private static final char[] TBCD_SYMBOLS -
FILLER_DECIMAL_CODE
private static final int FILLER_DECIMAL_CODE- See Also:
-
-
Constructor Details
-
TbcdStringConverter
public TbcdStringConverter()
-
-
Method Details
-
supportsType
- Specified by:
supportsTypein interfaceJASN1TypeAndValueConverter
-
convertType
- Specified by:
convertTypein interfaceJASN1TypeAndValueConverter
-
supportsValue
- Specified by:
supportsValuein interfaceJASN1TypeAndValueConverter
-
convertValue
public Object convertValue(com.beanit.asn1bean.ber.types.BerType value, DataType dataType, JASN1Converter converter) - Specified by:
convertValuein interfaceJASN1TypeAndValueConverter
-
isTbcdString
-
invalidFiller
private void invalidFiller(int octetIndex, int octet) -
invalidInteger
private void invalidInteger(int digit)
-