com.ptc.windchill.cadx.common.preference
Class FileUtil
java.lang.Object
com.ptc.windchill.cadx.common.preference.FileUtil
- public class FileUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
private static final boolean debug
- See Also:
- Constant Field Values
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
FileUtil
public FileUtil()
getLocalFilePath
public static String getLocalFilePath(String mUrl,
boolean bDirPath)
- Gets the local file path associated with the
mUrl supplied, on Win32 it changes all file-separators to
"\".
checkUrlPath
public static String checkUrlPath(String p)
- Checks the "p" for a valid URL and returns it if found,
otherwise, it creates a valid file URL out of the "p" supplied.
In Applet Mode it appends "p" to CODEBASE
getLocalFilePath
public static String getLocalFilePath(String mUrl)