|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectjackHack.util.io.UtilitiesIO
public class UtilitiesIO
Utilities for Input/Output
| Constructor Summary | |
|---|---|
UtilitiesIO()
|
|
| Method Summary | |
|---|---|
static java.io.File |
computeExternalJarFile(java.lang.String relativePath)
Obtain a file external from the jar |
static void |
copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Copy a stream to other one |
static void |
copy(java.net.URL source,
java.io.File destination)
Copy an URL to a file |
static boolean |
createDirectory(java.io.File directory)
Create a directory |
static boolean |
createFile(java.io.File file)
Create a file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UtilitiesIO()
| Method Detail |
|---|
public static boolean createDirectory(java.io.File directory)
directory - Directory to create
true if the directory is createpublic static boolean createFile(java.io.File file)
file - File to create
true if the file is create
public static void copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws java.io.IOException
inputStream - Stream to copyoutputStream - Stream where copy
java.io.IOException - On reading/writing problem
public static void copy(java.net.URL source,
java.io.File destination)
throws java.io.IOException
source - URL sourcedestination - File destination
java.io.IOException - On reading/writing problempublic static java.io.File computeExternalJarFile(java.lang.String relativePath)
relativePath - Relative path to the jar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||