com.ptc.hli.ecad
Class ECADServerVersion
java.lang.Object
com.ptc.hli.ecad.ECADServerVersion
- public class ECADServerVersion
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMECAD_VER_CLIENT_CLASSES
private static final String WMECAD_VER_CLIENT_CLASSES
- See Also:
- Constant Field Values
WMECAD_VER_CLIENT_CUSTOM
private static final String WMECAD_VER_CLIENT_CUSTOM
- See Also:
- Constant Field Values
WMECAD_VER_SERVER_CLASSES
private static final String WMECAD_VER_SERVER_CLASSES
- See Also:
- Constant Field Values
WMECAD_VER_SERVER_CUSTOM
private static final String WMECAD_VER_SERVER_CUSTOM
- See Also:
- Constant Field Values
SERVER_CLASS
private static final String SERVER_CLASS
SERVER
static final boolean SERVER
ECADServerVersion
public ECADServerVersion()
getVersion
public static String getVersion(boolean server,
boolean fromClassPath)
throws WTException
- Throws:
WTException
getServerVersionFromClassPath
private static String getServerVersionFromClassPath(boolean server)
throws WTException
- Throws:
WTException
getServerVersionFromFilesystem
private static String getServerVersionFromFilesystem(boolean server)
throws WTException
- Throws:
WTException
readToString
private static String readToString(InputStream inputStream)
throws Exception
- Throws:
Exception