Package io.github.qishr.cascara.common.lang.type
Class PathTypeDescriptor
java.lang.Object
io.github.qishr.cascara.common.lang.type.AbstractTypeDescriptor<java.nio.file.Path>
io.github.qishr.cascara.common.lang.type.AbstractScalarDescriptor<java.nio.file.Path>
io.github.qishr.cascara.common.lang.type.PathTypeDescriptor
public class PathTypeDescriptor
extends AbstractScalarDescriptor<Path>
Constructor Summary
| Constructor | Description |
|---|---|
| PathTypeDescriptor() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public Path | toJvmType(String text) | |
| public Object | toPrimitive(Path 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 Path toJvmType(String text)
toPrimitive
public Object toPrimitive(Path jvmInstance)
validate
public boolean validate(String text, Reporter collector)