Class Unknowns.TxtDecoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Strings.TxtDecoder
-
- com.impossibl.postgres.system.procs.Unknowns.TxtDecoder
-
- All Implemented Interfaces:
Type.Codec.Decoder<java.lang.CharSequence>
- Enclosing class:
- Unknowns
public static class Unknowns.TxtDecoder extends Strings.TxtDecoder
-
-
Constructor Summary
Constructors Constructor Description TxtDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectconvertOutput(Context context, N decoded, java.lang.Class<?> targetClass, java.lang.Object targetContext)java.lang.Objectdecode(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, java.lang.CharSequence buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext)protected java.lang.ObjectdecodeValue(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, java.lang.CharSequence buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext)protected voidenableRespectMaxLength()protected booleanshouldRespectMaxLength()-
Methods inherited from class com.impossibl.postgres.system.procs.Strings.TxtDecoder
decodeNativeValue, getDefaultClass
-
-
-
-
Method Detail
-
convertOutput
protected java.lang.Object convertOutput(Context context, N decoded, java.lang.Class<?> targetClass, java.lang.Object targetContext) throws java.io.IOException
- Throws:
java.io.IOException
-
decodeValue
protected java.lang.Object decodeValue(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, java.lang.CharSequence buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext) throws java.io.IOException, java.text.ParseException
- Throws:
java.io.IOExceptionjava.text.ParseException
-
shouldRespectMaxLength
protected boolean shouldRespectMaxLength()
-
enableRespectMaxLength
protected void enableRespectMaxLength()
-
decode
public java.lang.Object decode(Context context, Type type, java.lang.Short typeLength, java.lang.Integer typeModifier, java.lang.CharSequence buffer, java.lang.Class<?> targetClass, java.lang.Object targetContext) throws java.io.IOException
- Specified by:
decodein interfaceType.Codec.Decoder<java.lang.CharSequence>- Throws:
java.io.IOException
-
-