Package org.apache.nifi.jasn1
Class JASN1Utils
java.lang.Object
org.apache.nifi.jasn1.JASN1Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.github.benmanes.caffeine.cache.LoadingCache<Tuple<Class<? extends com.beanit.asn1bean.ber.types.BerType>, String>, Method> Since the same class can be read many times in case reading an array, having a cache can reduce processing time.private static org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Methodstatic ClassgetSeqOfElementType(Field seqOfField) static FieldgetSeqOfField(Class<?> type) static ObjectinvokeGetter(com.beanit.asn1bean.ber.types.BerType model, String methodName) static booleanisRecordField(Field field) static StringtoGetterMethod(String fieldName)
-
Field Details
-
logger
private static org.slf4j.Logger logger -
getterCache
private static final com.github.benmanes.caffeine.cache.LoadingCache<Tuple<Class<? extends com.beanit.asn1bean.ber.types.BerType>,String>, getterCacheMethod> Since the same class can be read many times in case reading an array, having a cache can reduce processing time. Class.getDeclaredMethod is time consuming.
-
-
Constructor Details
-
JASN1Utils
public JASN1Utils()
-
-
Method Details
-
getGetter
-
getSeqOfElementType
-
isRecordField
-
getSeqOfField
-
toGetterMethod
-
invokeGetter
-