Package com.openhtmltopdf.util
Class IOUtil
java.lang.Object
com.openhtmltopdf.util.IOUtil
public class IOUtil extends Object
- Author:
- patrick
-
Constructor Summary
Constructors Constructor Description IOUtil() -
Method Summary
Modifier and Type Method Description static FilecopyFile(File page, File outputDir)static voiddeleteAllFiles(File dir)static InputStreamopenStreamAtUrl(String uri)Deprecated.
-
Constructor Details
-
IOUtil
public IOUtil()
-
-
Method Details
-
copyFile
- Throws:
IOException
-
deleteAllFiles
- Throws:
IOException
-
openStreamAtUrl
Deprecated.Attempts to open a connection, and a stream, to the URI provided. timeouts will be set for opening the connection and reading from it. will return the stream, or null if unable to open or read or a timeout occurred. Does not buffer the stream.
-