java.lang.Object
me.ahoo.cosid.internal.ClassNameCodecs
Resolves a custom codec reference as a class name: a public
IdCodec with a public no-argument constructor.-
Method Summary
-
Method Details
-
resolve
Creates the codec class namedreference.- Parameters:
reference- the class name- Returns:
- the codec, or empty when no such class exists
- Throws:
IllegalArgumentException- if the class is not anIdCodecor cannot be created
-