Class IoUtils


  • public class IoUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IoUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.CharSequence contentsAsCharSequence​(java.io.Reader reader)  
      static java.lang.String contentsAsString​(java.io.File f)  
      • Methods inherited from class java.lang.Object

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

      • IoUtils

        public IoUtils()
    • Method Detail

      • contentsAsCharSequence

        public static java.lang.CharSequence contentsAsCharSequence​(java.io.Reader reader)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • contentsAsString

        public static java.lang.String contentsAsString​(java.io.File f)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException