public class TabularTextFormat extends Object implements TextFormat
TextFormat for tabular-style text files.| Modifier and Type | Class and Description |
|---|---|
static class |
TabularTextFormat.Builder
A builder of
TabularTextFormat. |
| Modifier and Type | Field and Description |
|---|---|
static Charset |
DEFAULT_CHARSET
The default charset.
|
static char |
DEFAULT_FIELD_SEPARATOR
The default field separator.
|
static LineSeparator |
DEFAULT_LINE_SEPARATOR
The default line separator.
|
| Modifier and Type | Method and Description |
|---|---|
static TabularTextFormat.Builder |
builder()
Returns a new builder.
|
TabularFieldReader |
open(InputStream input)
Opens
FieldReader for the given input. |
TabularFieldWriter |
open(OutputStream output)
Opens
FieldWriter for the given output. |
TabularFieldReader |
open(Reader input)
Opens
FieldReader for the given input. |
TabularFieldWriter |
open(Writer output)
Opens
FieldWriter for the given output. |
public static final Charset DEFAULT_CHARSET
public static final LineSeparator DEFAULT_LINE_SEPARATOR
public static final char DEFAULT_FIELD_SEPARATOR
public static final TabularTextFormat.Builder builder()
public TabularFieldReader open(InputStream input) throws IOException
TextFormatFieldReader for the given input.open in interface TextFormatinput - the source input streamFieldReaderIOException - if I/O error was occurred while initializing the readerpublic TabularFieldWriter open(OutputStream output) throws IOException
TextFormatFieldWriter for the given output.open in interface TextFormatoutput - the destination output streamFieldWriterIOException - if I/O error was occurred while initializing the writerpublic TabularFieldReader open(Reader input) throws IOException
TextFormatFieldReader for the given input.open in interface TextFormatinput - the source input readerFieldReaderIOException - if I/O error was occurred while initializing the readerpublic TabularFieldWriter open(Writer output) throws IOException
TextFormatFieldWriter for the given output.open in interface TextFormatoutput - the destination output writerFieldWriterIOException - if I/O error was occurred while initializing the writerCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.