Package io.github.qishr.cascara.common.lang.type
Class ByteArrayDescriptor
java.lang.Object
io.github.qishr.cascara.common.lang.type.AbstractTypeDescriptor
io.github.qishr.cascara.common.lang.type.AbstractScalarDescriptor
io.github.qishr.cascara.common.lang.type.ByteArrayDescriptor
public class ByteArrayDescriptor
extends AbstractScalarDescriptor
Constructor Summary
| Constructor | Description |
|---|---|
| ByteArrayDescriptor() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public byte[] | toJvmType(String text) | |
| public Object | toPrimitive(byte[] jvmInstance) | |
| public boolean | validate(String text, Reporter collector) |
Methods inherited from AbstractTypeDescriptor
getSchemaType, getServiceProperties, getJvmType
Methods inherited from AbstractScalarDescriptor
getFormat, populateSchema, getContentEncoding, formatError
Method Details
toJvmType
public byte[] toJvmType(String text)
toPrimitive
public Object toPrimitive(byte[] jvmInstance)
validate
public boolean validate(String text, Reporter collector)