com.ptc.wvs.server.thumbnail
Class Generator
java.lang.Object
com.ptc.wvs.server.thumbnail.Generator
- All Implemented Interfaces:
- GeneratorInterface, GenericWorkerInterface
- public class Generator
- extends Object
- implements GeneratorInterface, GenericWorkerInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enabled
private boolean enabled
impl
private GeneratorInterface impl
javacmd
private String javacmd
nativecmd
private String nativecmd
wvsProperties
private static WVSProperties wvsProperties
VERBOSE
private static boolean VERBOSE
Generator
public Generator()
Generator
public Generator(boolean forceConstruct)
generateThumbNail
public String generateThumbNail(String dir,
String file)
throws IOException
- Specified by:
generateThumbNail
in interface GeneratorInterface
- Throws:
IOException
generateThumbNail
public String generateThumbNail(String dir,
String file,
boolean checkForCadAgent)
throws IOException
- Throws:
IOException
runWorker
public String runWorker(String args)
throws Exception
- Specified by:
runWorker
in interface GenericWorkerInterface
- Throws:
Exception
main
public static void main(String[] args)