Class UserTextFile


  • public class UserTextFile
    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
      UserTextFile()  
    • 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.lang.String fileName)  
      static java.io.PrintWriter printWriter​(java.lang.String fileName)  
      static java.io.Reader reader​(java.io.InputStream in)  
      • 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

      • UserTextFile

        public UserTextFile()
    • Method Detail

      • 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
      • reader

        public static java.io.Reader reader​(@WillCloseWhenClosed
                                            java.io.InputStream in)
      • bufferedReader

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