Class FileUtil

java.lang.Object
org.python.core.FileUtil

public class FileUtil extends Object
Utility methods for Java file handling.
  • Constructor Details

    • FileUtil

      public FileUtil()
  • Method Details

    • readBytes

      public static byte[] readBytes(InputStream in) throws IOException
      Read all bytes from the input stream.

      Note that using this method to read very large streams could cause out-of-memory exceptions and/or block for large periods of time.

      Throws:
      IOException