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