Class BerRecordConverter
java.lang.Object
org.apache.nifi.jasn1.convert.converters.BerRecordConverter
- All Implemented Interfaces:
JASN1TypeAndValueConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.github.benmanes.caffeine.cache.LoadingCache<Class, RecordSchema> -
Constructor Summary
ConstructorsConstructorDescriptionBerRecordConverter(com.github.benmanes.caffeine.cache.LoadingCache<Class, RecordSchema> schemaCache) -
Method Summary
Modifier and TypeMethodDescriptionconvertType(Class<?> berType, JASN1Converter converter) convertValue(com.beanit.asn1bean.ber.types.BerType berRecord, DataType dataType, JASN1Converter converter) booleansupportsType(Class<?> berType) booleansupportsValue(com.beanit.asn1bean.ber.types.BerType value, DataType dataType)
-
Field Details
-
schemaCache
-
-
Constructor Details
-
BerRecordConverter
public BerRecordConverter(com.github.benmanes.caffeine.cache.LoadingCache<Class, RecordSchema> schemaCache)
-
-
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 berRecord, DataType dataType, JASN1Converter converter) - Specified by:
convertValuein interfaceJASN1TypeAndValueConverter
-