Package org.fest.util

Class TextFileWriter


  • public class TextFileWriter
    extends java.lang.Object
    Author:
    Yvonne Wang, Olivier Michallat
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TextFileWriter instance()  
      void write​(java.io.File file, java.lang.String... content)  
      void write​(java.io.File file, java.nio.charset.Charset charset, java.lang.String... content)  
      • Methods inherited from class java.lang.Object

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

      • write

        public void write​(java.io.File file,
                          java.lang.String... content)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.File file,
                          java.nio.charset.Charset charset,
                          java.lang.String... content)
                   throws java.io.IOException
        Throws:
        java.io.IOException