Class Files


  • public class Files
    extends java.lang.Object
    File utility functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] readBytes​(java.io.File file)  
      static java.lang.String readString​(java.io.File file)  
      • Methods inherited from class java.lang.Object

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

      • readBytes

        public static byte[] readBytes​(java.io.File file)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readString

        public static java.lang.String readString​(java.io.File file)
                                           throws java.io.IOException
        Throws:
        java.io.IOException