Package | Description |
---|---|
com.asakusafw.runtime.io.text.driver |
Drivers for text I/O.
|
Modifier and Type | Method and Description |
---|---|
static <T> RecordDefinition.Builder<T> |
RecordDefinition.builder(Class<T> dataType)
Returns a new builder.
|
<S> RecordDefinition.Builder<T> |
RecordDefinition.Builder.withField(Function<? super T,? extends S> extractor,
FieldDefinition<S> definition)
Adds a field.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withHeaderType(HeaderType newValue)
Sets the header type.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withOnLessInput(ErrorAction newValue)
Sets the error action for record only has less input fields.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withOnMalformedInput(ErrorAction newValue)
Sets the error action for malformed inputs.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withOnMoreInput(ErrorAction newValue)
Sets the error action for record has extra input fields.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withOnUnmappableOutput(ErrorAction newValue)
Sets the error action for un-mappable outputs.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withSkipEmptyInput(boolean newValue)
Sets whether or not this skips empty inputs.
|
RecordDefinition.Builder<T> |
RecordDefinition.Builder.withTrimInput(boolean newValue)
Sets whether or not leading/trailing white-space characters are trimmed.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.