|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.scape_project.pit.util.FileUtils
public final class FileUtils
Some file utilities used by the client and service.
| Field Summary | |
|---|---|
static String |
JAVA_TMP
Path to the Java System temp directory |
| Method Summary | |
|---|---|
static String |
getFileNameFromUrl(URL inputUrl)
|
static File |
getSystemTempFolder()
Get system's JAVA temporary directory. |
static File |
getTmpFile(String name,
String suffix)
Get temporary file |
static File |
urlToFile(URL url,
String ext)
Read file of URL into file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JAVA_TMP
| Method Detail |
|---|
public static String getFileNameFromUrl(URL inputUrl)
inputUrl -
public static File getSystemTempFolder()
public static File getTmpFile(String name,
String suffix)
name - File namesuffix - Suffix
public static File urlToFile(URL url,
String ext)
throws IOException
url - URL where the input file is locatedext -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||