Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VUtils – Release 1
Interface org.violetlib.io.VUWriter
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.io

Interface VUWriter

  • All Known Subinterfaces:
    TransactionalUncheckedOutputStream, TransactionalUncheckedWriter
    All Known Implementing Classes:
    VStringWriter, VULineWritingConverter, VUWriterWrapper
    public interface VUWriter
    Basic writer operations that either throw an unchecked exception (IORuntimeException) or throw no exceptions. Intentionally does not support the close method to avoid inadvertent incorrect use of try with resources.

    This interface interprets newline characters as line separators. Implementations that write to files or other system devices should map newlines to the appropriate line separator.

    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator from Reveal DetailHide Detail
      static VUWriter from(Writer w)
       
      static VUWriter from(Writer w)
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator asPrintWriter Reveal DetailHide Detail
      PrintWriter asPrintWriter()
       
      PrintWriter asPrintWriter()
      Ordinary member indicator asWriter Reveal DetailHide Detail
      Writer asWriter()
       
      Writer asWriter()
      Ordinary member indicator flush Reveal DetailHide Detail
      abstract void flush()
       
      void flush() throws IORuntimeException
      Ordinary member indicator newLine Reveal DetailHide Detail
      abstract void newLine()
       
      void newLine() throws IORuntimeException
      Ordinary member indicator write Reveal DetailHide Detail
      abstract void write(char ch)
       
      void write(char ch) throws IORuntimeException
      Ordinary member indicator write Reveal DetailHide Detail
      abstract void write(String s)
       
      void write(String s) throws IORuntimeException
      Ordinary member indicator writeln Reveal DetailHide Detail
      void writeln()
       
      void writeln() throws IORuntimeException
      Ordinary member indicator writeln Reveal DetailHide Detail
      void writeln(String s)
       
      void writeln(String s) throws IORuntimeException