|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qtunes.core.util.FileUtils
public class FileUtils
Method Summary | |
---|---|
static boolean |
equals(java.io.File file1,
java.io.File file2)
|
static java.io.File |
getAbsoluteFile(java.io.File file)
Get the absolute path of the specified File relative to the current root |
static java.io.File |
getRelativeFile(java.io.File file)
Given a root and a file, return a new File representing the canonical relative path from root to file |
static java.io.File |
getRoot()
Get the File root for this thread and its children |
static void |
setRoot(java.io.File file)
Set the File root for this thread and its children |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setRoot(java.io.File file) throws java.io.IOException
java.io.IOException
public static java.io.File getRoot()
public static java.io.File getAbsoluteFile(java.io.File file) throws java.io.IOException
java.io.IOException
public static java.io.File getRelativeFile(java.io.File file) throws java.io.IOException
java.io.IOException
public static boolean equals(java.io.File file1, java.io.File file2) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |