Format, as well as
the escapeChar character for escaping \t, \n, \r and \ in TSV values.
Delimiters are defined as tab characters '\t'
com.univocity.parsers.common.Format
| Modifier and Type | Field and Description |
|---|---|
| private char | |
| private char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final TsvFormat | clone()
Overrides com. |
| protected TreeMap | |
| public char | Returns: the escape character.Returns the character used for escaping special characters in TSV inputs: \t, \n, \r and \ |
| public char | Returns: the character following thegetEscapeChar() that represents an escaped tab.Returns the character that should be used to represent an escaped tab, i.e. the character before the defined
|
| public boolean | Returns: true if the given character is escape character, false otherwisethe character to be verified ch)Identifies whether or not a given character is used for escaping special characters in TSV (\t, \n, \r and \). |
| public void | setEscapeChar(char
the escape character escapeChar)Defines the character used for escaping special characters in TSV inputs: \t, \n, \r and \ . |
| public void | setEscapedTabChar(char
the character following the escapedTabChar)getEscapeChar() that represents an escaped tab.Defines the character that should be used to represent an escaped tab, i.e. the character before the defined
|
| escapeChar | back to summary |
|---|---|
| private char escapeChar | |
| escapedTabChar | back to summary |
|---|---|
| private char escapedTabChar | |
| TsvFormat | back to summary |
|---|---|
| public TsvFormat() | |
| clone | back to summary |
|---|---|
| public final TsvFormat clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| getConfiguration | back to summary |
|---|---|
| protected TreeMap Implements abstract com.
| |
| getEscapeChar | back to summary |
|---|---|
| public char getEscapeChar() Returns the character used for escaping special characters in TSV inputs: \t, \n, \r and \
| |
| getEscapedTabChar | back to summary |
|---|---|
| public char getEscapedTabChar() Returns the character that should be used to represent an escaped tab, i.e. the character before the defined
| |
| isEscapeChar | back to summary |
|---|---|
| public boolean isEscapeChar(char ch) Identifies whether or not a given character is used for escaping special characters in TSV (\t, \n, \r and \).
| |
| setEscapeChar | back to summary |
|---|---|
| public void setEscapeChar(char escapeChar) Defines the character used for escaping special characters in TSV inputs: \t, \n, \r and \ . Defaults to '\\'
| |
| setEscapedTabChar | back to summary |
|---|---|
| public void setEscapedTabChar(char escapedTabChar) Defines the character that should be used to represent an escaped tab, i.e. the character before the defined
| |