com.ptc.wvs.client.pview
Class PViewUtilities
java.lang.Object
com.ptc.wvs.client.pview.PViewUtilities
- public class PViewUtilities
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useWindchill
public static boolean useWindchill
debug
private static boolean debug
windchillAvailable
public static boolean windchillAvailable
localAvailable
public static boolean localAvailable
utilitiesWindchill
private static Class utilitiesWindchill
getPropertyValueWindchill
private static Method getPropertyValueWindchill
getEnvWindchill
private static Method getEnvWindchill
getLoadLibraryWindchill
private static Method getLoadLibraryWindchill
getMkdirWindchill
private static Method getMkdirWindchill
getExistsWindchill
private static Method getExistsWindchill
getDeleteWindchill
private static Method getDeleteWindchill
getFileOutputStreamWindchill
private static Method getFileOutputStreamWindchill
getLocalizedMessageWindchill
private static Method getLocalizedMessageWindchill
setDebugWindchill
private static Method setDebugWindchill
getTempDirectoryWindchill
private static Method getTempDirectoryWindchill
utilitiesLocal
private static Class utilitiesLocal
getPropertyValueLocal
private static Method getPropertyValueLocal
getEnvLocal
private static Method getEnvLocal
getLoadLibraryLocal
private static Method getLoadLibraryLocal
getMkdirLocal
private static Method getMkdirLocal
getExistsLocal
private static Method getExistsLocal
getDeleteLocal
private static Method getDeleteLocal
getFileOutputStreamLocal
private static Method getFileOutputStreamLocal
getLocalizedMessageLocal
private static Method getLocalizedMessageLocal
setDebugLocal
private static Method setDebugLocal
getTempDirectoryLocal
private static Method getTempDirectoryLocal
PViewUtilities
public PViewUtilities()
setDebug
public static void setDebug(boolean flag)
getDebug
public static boolean getDebug()
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()