Interface AWriter

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
AWriterBase, IndentedLineBuffer, IndentedWriter, StringWriterI, Writer2

public interface AWriter extends Closeable, AutoCloseable
Simple abstraction of a string/character output stream
  • Method Details

    • write

      void write(char ch)
    • write

      void write(char[] cbuf)
    • write

      void write(String string)
    • print

      void print(char ch)
    • print

      void print(char[] cbuf)
    • print

      void print(String string)
    • printf

      void printf(String fmt, Object... arg)
    • println

      void println(String object)
    • println

      void println()
    • flush

      void flush()
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable