Package | Description |
---|---|
com.fasterxml.jackson.dataformat.csv |
Modifier and Type | Method and Description |
---|---|
CsvSchema.Builder |
CsvSchema.Builder.addArrayColumn(String name) |
CsvSchema.Builder |
CsvSchema.Builder.addArrayColumn(String name,
int elementSeparator)
Deprecated.
use
addArrayColumn(String, String) instead |
CsvSchema.Builder |
CsvSchema.Builder.addArrayColumn(String name,
String elementSeparator) |
CsvSchema.Builder |
CsvSchema.Builder.addBooleanColumn(String name) |
CsvSchema.Builder |
CsvSchema.Builder.addColumn(CsvSchema.Column c) |
CsvSchema.Builder |
CsvSchema.Builder.addColumn(String name) |
CsvSchema.Builder |
CsvSchema.Builder.addColumn(String name,
CsvSchema.ColumnType type) |
CsvSchema.Builder |
CsvSchema.Builder.addNumberColumn(String name) |
static CsvSchema.Builder |
CsvSchema.builder() |
CsvSchema.Builder |
CsvSchema.Builder.clearColumns() |
CsvSchema.Builder |
CsvSchema.Builder.disableArrayElementSeparator() |
CsvSchema.Builder |
CsvSchema.Builder.disableElementSeparator(char c)
Deprecated.
use
disableArrayElementSeparator() instead |
CsvSchema.Builder |
CsvSchema.Builder.disableEscapeChar()
Method for specifying that no escape character is to be used
with CSV documents this schema defines.
|
CsvSchema.Builder |
CsvSchema.Builder.disableQuoteChar() |
CsvSchema.Builder |
CsvSchema.rebuild()
Helper method for constructing Builder that can be used to create modified
schema.
|
CsvSchema.Builder |
CsvSchema.Builder.removeArrayElementSeparator(int index) |
CsvSchema.Builder |
CsvSchema.Builder.renameColumn(int index,
String newName) |
CsvSchema.Builder |
CsvSchema.Builder.replaceColumn(int index,
CsvSchema.Column c) |
CsvSchema.Builder |
CsvSchema.Builder.setAllowComments(boolean b)
Method for specifying whether Schema should indicate that
"hash comments" (lines where the first non-whitespace character
is '#') are allowed; if so, they will be skipped without processing.
|
CsvSchema.Builder |
CsvSchema.Builder.setAnyPropertyName(String name) |
CsvSchema.Builder |
CsvSchema.Builder.setArrayElementSeparator(char c)
Deprecated.
use
setArrayElementSeparator(String) instead |
CsvSchema.Builder |
CsvSchema.Builder.setArrayElementSeparator(int index,
String sep) |
CsvSchema.Builder |
CsvSchema.Builder.setArrayElementSeparator(String separator)
Method for specifying character used to separate array element
values.
|
CsvSchema.Builder |
CsvSchema.Builder.setColumnSeparator(char c)
Method for specifying character used to separate column
values.
|
CsvSchema.Builder |
CsvSchema.Builder.setColumnType(int index,
CsvSchema.ColumnType type) |
CsvSchema.Builder |
CsvSchema.Builder.setEscapeChar(char c)
Method for specifying character used for optional escaping
of characters in quoted String values.
|
CsvSchema.Builder |
CsvSchema.Builder.setLineSeparator(char lf) |
CsvSchema.Builder |
CsvSchema.Builder.setLineSeparator(String lf) |
CsvSchema.Builder |
CsvSchema.Builder.setNullValue(char[] nvl) |
CsvSchema.Builder |
CsvSchema.Builder.setNullValue(String nvl) |
CsvSchema.Builder |
CsvSchema.Builder.setQuoteChar(char c)
Method for specifying character used for optional quoting
of values.
|
CsvSchema.Builder |
CsvSchema.Builder.setReorderColumns(boolean b)
Use in combination with setUseHeader.
|
CsvSchema.Builder |
CsvSchema.Builder.setSkipFirstDataRow(boolean b)
Method for specifying whether Schema should indicate that
the first line that is not a header (if header handling enabled)
should be skipped in its entirety.
|
CsvSchema.Builder |
CsvSchema.Builder.setStrictHeaders(boolean b)
Use in combination with
setUseHeader(boolean) . |
CsvSchema.Builder |
CsvSchema.Builder.setUseHeader(boolean b)
Method for specifying whether Schema should indicate that
a header line (first row that contains column names) is to be
used for reading and writing or not.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CsvMapper._addSchemaProperties(CsvSchema.Builder builder,
com.fasterxml.jackson.databind.AnnotationIntrospector intr,
boolean typed,
com.fasterxml.jackson.databind.JavaType pojoType,
com.fasterxml.jackson.databind.util.NameTransformer unwrapper) |
Copyright © 2016 FasterXML. All rights reserved.