com.ptc.wvs.client.pview
Class PViewUtilitiesLocal
java.lang.Object
com.ptc.wvs.client.pview.PViewUtilitiesLocal
- public class PViewUtilitiesLocal
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static boolean debug
WINDOWS_TEMP
private static final String WINDOWS_TEMP
- See Also:
- Constant Field Values
UNIX_HOME
private static final String UNIX_HOME
- See Also:
- Constant Field Values
vr
private static com.ptc.wvs.client.beans.viewerResource vr
PViewUtilitiesLocal
public PViewUtilitiesLocal()
setDebug
public static void setDebug(Boolean flag)
getPropertyValue
public static String getPropertyValue(String name)
getEnv
public static String getEnv(String name)
loadLibrary
public static void loadLibrary(String name)
throws Exception
- Throws:
Exception
mkdir
public static void mkdir(String directory)
throws Exception
- Throws:
Exception
exists
public static Boolean exists(File file)
delete
public static void delete(File file)
getFileOutputStream
public static FileOutputStream getFileOutputStream(File file)
throws IOException
- Throws:
IOException
getLocalizedMessage
public static String getLocalizedMessage(String resourceBundle,
String messageKey,
Object[] textInserts,
Locale locale)
getTempDirectory
public static String getTempDirectory()
- Determines a temporary directory.
- Returns:
- the temporary directory
isWindows
public static boolean isWindows()
- Determines if currently executing on Windows.
- Returns:
- true if executing on Windows