public abstract class AbstractFilterReaderLineEnding extends FilterReader
Modifier and Type | Field and Description |
---|---|
protected LinkedHashSet<DelimiterSpecification> |
delimiters |
protected int |
markLength
must always be bigger than escape string plus delimiters, but doesn't need to be exact
|
protected boolean |
useEscape
using escape or not.
|
in
Modifier | Constructor and Description |
---|---|
protected |
AbstractFilterReaderLineEnding(Reader in) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateMarkLength() |
String |
getEscapeString() |
boolean |
isPreserveEscapeString() |
void |
setEscapeString(String escapeString) |
void |
setPreserveEscapeString(boolean preserveEscapeString) |
close, mark, markSupported, read, read, ready, reset, skip
protected boolean useEscape
protected LinkedHashSet<DelimiterSpecification> delimiters
protected int markLength
protected AbstractFilterReaderLineEnding(Reader in)
public String getEscapeString()
public void setEscapeString(String escapeString)
escapeString
- Set the value of the escape string.public boolean isPreserveEscapeString()
public void setPreserveEscapeString(boolean preserveEscapeString)
preserveEscapeString
- preserve escape string true
or false
.protected void calculateMarkLength()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.