Class AbstractFilterReaderLineEnding

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.LinkedHashSet<org.codehaus.plexus.interpolation.multi.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.
      • Fields inherited from class java.io.FilterReader

        in
      • Fields inherited from class java.io.Reader

        lock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void calculateMarkLength()  
      java.lang.String getEscapeString()  
      boolean isPreserveEscapeString()  
      void setEscapeString​(java.lang.String escapeString)  
      void setPreserveEscapeString​(boolean preserveEscapeString)  
      • Methods inherited from class java.io.FilterReader

        close, mark, markSupported, read, read, ready, reset, skip
      • Methods inherited from class java.io.Reader

        nullReader, read, read, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • useEscape

        protected boolean useEscape
        using escape or not.
      • delimiters

        protected java.util.LinkedHashSet<org.codehaus.plexus.interpolation.multi.DelimiterSpecification> delimiters
      • markLength

        protected int markLength
        must always be bigger than escape string plus delimiters, but doesn't need to be exact
    • Constructor Detail

      • AbstractFilterReaderLineEnding

        protected AbstractFilterReaderLineEnding​(java.io.Reader in)
    • Method Detail

      • getEscapeString

        public java.lang.String getEscapeString()
        Returns:
        the escapce string.
      • setEscapeString

        public void setEscapeString​(java.lang.String escapeString)
        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 string true or false.
      • calculateMarkLength

        protected void calculateMarkLength()