its.util
Class FileUtils
java.lang.Object
its.util.FileUtils
- public class FileUtils
- extends java.lang.Object
|
Method Summary |
static boolean |
deleteTree(java.io.File dir)
|
static byte[] |
loadContents(java.io.File f)
|
static java.util.List |
loadLines(java.io.File f)
|
static java.util.List |
loadLines(java.io.InputStream is)
|
static java.util.List |
loadLines(java.io.Reader r)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtils
public FileUtils()
deleteTree
public static boolean deleteTree(java.io.File dir)
- Returns:
- true unless input parameter not a directoty file, in which case false
loadLines
public static java.util.List loadLines(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
loadLines
public static java.util.List loadLines(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
loadLines
public static java.util.List loadLines(java.io.Reader r)
throws java.io.IOException
- Throws:
java.io.IOException
loadContents
public static byte[] loadContents(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException