|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.util.FileUtils
public class FileUtils
| Constructor Summary | |
|---|---|
FileUtils()
|
|
| Method Summary | |
|---|---|
static void |
copyClassPathResource(java.lang.String classPathResourceName,
java.lang.String fileSystemDirectoryName)
|
static java.net.URL |
getUrl(java.io.File file)
Creates an URL that points to the given file. |
static void |
writeStringToFile(java.io.File file,
java.lang.String string)
Writes the given string to the given file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUtils()
| Method Detail |
|---|
public static void copyClassPathResource(java.lang.String classPathResourceName,
java.lang.String fileSystemDirectoryName)
public static java.net.URL getUrl(java.io.File file)
file - The file, not null
public static void writeStringToFile(java.io.File file,
java.lang.String string)
throws java.io.IOException
file - the file to write, not nullstring - the string, not null
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||