Class AbstractFilterReaderLineEnding
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.maven.shared.filtering.AbstractFilterReaderLineEnding
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
- Direct Known Subclasses:
InterpolatorFilterReaderLineEnding,MultiDelimiterInterpolatorFilterReaderLineEnding
- Author:
- Karl Heinz Marbaise khmarbaise@apache.org
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LinkedHashSet<org.codehaus.plexus.interpolation.multi.DelimiterSpecification> protected intmust always be bigger than escape string plus delimiters, but doesn't need to be exactprotected booleanusing escape or not.Fields inherited from class java.io.FilterReader
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanvoidsetEscapeString(String escapeString) voidsetPreserveEscapeString(boolean preserveEscapeString) Methods inherited from class java.io.FilterReader
close, mark, markSupported, read, read, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Field Details
-
useEscape
protected boolean useEscapeusing escape or not. -
delimiters
-
markLength
protected int markLengthmust always be bigger than escape string plus delimiters, but doesn't need to be exact
-
-
Constructor Details
-
AbstractFilterReaderLineEnding
-
-
Method Details
-
getEscapeString
- Returns:
- the escapce string.
-
setEscapeString
- Parameters:
escapeString- Set the value of the escape string.
-
isPreserveEscapeString
public boolean isPreserveEscapeString()- Returns:
- state of preserve escape string.
-
setPreserveEscapeString
public void setPreserveEscapeString(boolean preserveEscapeString) - Parameters:
preserveEscapeString- preserve escape stringtrueorfalse.
-
calculateMarkLength
protected void calculateMarkLength()
-