Package gg.jte.output

Class FileOutput

  • All Implemented Interfaces:
    TemplateOutput, java.io.Closeable, java.lang.AutoCloseable

    public class FileOutput
    extends java.lang.Object
    implements TemplateOutput, java.io.Closeable
    • Constructor Detail

      • FileOutput

        public FileOutput​(java.nio.file.Path file)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • FileOutput

        public FileOutput​(java.nio.file.Path file,
                          java.nio.charset.Charset charset)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException