public class IOUtil extends Object
| Constructor and Description |
|---|
IOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
copyFile(File page,
File outputDir) |
static void |
deleteAllFiles(File dir) |
static InputStream |
openStreamAtUrl(String uri)
Attempts to open a connection, and a stream, to the URI provided.
|
public static File copyFile(File page, File outputDir) throws IOException
IOExceptionpublic static void deleteAllFiles(File dir) throws IOException
IOExceptionpublic static InputStream openStreamAtUrl(String uri)
Copyright © 2020. All rights reserved.