Package org.python.core
Class FileUtil
java.lang.Object
org.python.core.FileUtil
Utility methods for Java file handling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
readBytes
(InputStream in) Read all bytes from the input stream.
-
Constructor Details
-
FileUtil
public FileUtil()
-
-
Method Details
-
readBytes
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
-