Class IndentWriter


  • public class IndentWriter
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean force  
      private boolean html  
      private java.lang.String indent  
      private static java.lang.String INDENT_STRING  
      private static java.lang.String INDENT_STRING_HTML  
      private java.io.PrintWriter pw  
    • Constructor Summary

      Constructors 
      Constructor Description
      IndentWriter​(java.io.PrintWriter _pw)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void exdent()  
      java.lang.String getTab()  
      void indent()  
      void println​(java.lang.String str)  
      void setForce​(boolean b)  
      void setHTML​(boolean _html)  
      • Methods inherited from class java.lang.Object

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

      • INDENT_STRING_HTML

        private static final java.lang.String INDENT_STRING_HTML
        See Also:
        Constant Field Values
      • pw

        private final java.io.PrintWriter pw
      • indent

        private java.lang.String indent
      • html

        private boolean html
      • force

        private boolean force
    • Constructor Detail

      • IndentWriter

        public IndentWriter​(java.io.PrintWriter _pw)
    • Method Detail

      • setHTML

        public void setHTML​(boolean _html)
      • println

        public void println​(java.lang.String str)
      • indent

        public void indent()
      • exdent

        public void exdent()
      • getTab

        public java.lang.String getTab()
      • setForce

        public void setForce​(boolean b)
      • close

        public void close()