Class BookmarkRDFMetadataExtractor.ExtractorStringBuilder

java.lang.Object
org.odftoolkit.odfdom.dom.rdfa.BookmarkRDFMetadataExtractor.ExtractorStringBuilder
Enclosing class:
BookmarkRDFMetadataExtractor

protected static class BookmarkRDFMetadataExtractor.ExtractorStringBuilder extends Object
This class is used to provide the string builder functions to extractor. It will automatically process the last NewLineChar.
Since:
0.3.5
  • Method Details

    • append

      public void append(String str)
      Append a string
      Parameters:
      str - - the string
    • append

      public void append(char ch)
      Append a character
      Parameters:
      ch - - the character
    • appendLine

      public void appendLine()
      Append a new line character at the end
    • toString

      public String toString()
      Return the string value.

      If the last character is a new line character and is appended with appendLine(), the last new line character will be removed.

      Overrides:
      toString in class Object