Class SourceCharset


  • public class SourceCharset
    extends java.lang.Object
    Author:
    pugh
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.charset.Charset charset  
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceCharset()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.BufferedReader bufferedReader​(java.io.InputStream in)  
      static java.io.Writer fileWriter​(java.io.File fileName)  
      static java.io.Writer fileWriter​(java.lang.String fileName)  
      static java.io.PrintWriter printWriter​(java.io.File fileName)  
      static java.io.PrintWriter printWriter​(java.lang.String fileName)  
      • Methods inherited from class java.lang.Object

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

      • charset

        public static final java.nio.charset.Charset charset
    • Constructor Detail

      • SourceCharset

        public SourceCharset()
    • Method Detail

      • fileWriter

        public static java.io.Writer fileWriter​(java.io.File fileName)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • printWriter

        public static java.io.PrintWriter printWriter​(java.io.File fileName)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • fileWriter

        public static java.io.Writer fileWriter​(java.lang.String fileName)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • printWriter

        public static java.io.PrintWriter printWriter​(java.lang.String fileName)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • bufferedReader

        public static java.io.BufferedReader bufferedReader​(java.io.InputStream in)