public class LegacyQTTools extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
EXPIRED_QT_MSG  | 
protected boolean | 
expiredQT
Flag indicating QuickTime for Java has expired. 
 | 
protected boolean | 
initialized
Flag indicating this class has been initialized. 
 | 
static String | 
JVM_64BIT_MSG  | 
protected boolean | 
jvm64Bit
Flag indicating 64-bit JVM (does not support QTJava). 
 | 
protected static ClassLoader | 
LOADER
This custom class loader searches additional paths for the QTJava.zip
 library. 
 | 
private static org.slf4j.Logger | 
LOGGER  | 
protected static boolean | 
MAC_OS_X  | 
static String | 
NO_QT_MSG  | 
protected boolean | 
noQT
Flag indicating QuickTime for Java is not installed. 
 | 
protected ReflectedUniverse | 
r
Reflection tool for QuickTime for Java calls. 
 | 
protected static String[] | 
SUFFIXES  | 
| Constructor and Description | 
|---|
LegacyQTTools()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canDoQT()
Whether QuickTime is available to this JVM. 
 | 
void | 
checkQTLibrary()
Checks whether QTJava is available, throwing an exception if not. 
 | 
protected static ClassLoader | 
constructLoader()  | 
Dimension | 
getPictDimensions(byte[] bytes)
Gets width and height for the given PICT bytes. 
 | 
String | 
getQTVersion()
Gets the QuickTime for Java version number. 
 | 
ReflectedUniverse | 
getUniverse()
Gets QuickTime for Java reflected universe. 
 | 
protected void | 
initClass()
Initializes the class. 
 | 
boolean | 
isJVM64Bit()
Whether this JVM is 64-bit. 
 | 
boolean | 
isQTExpired()
Whether QuickTime for Java has expired. 
 | 
Image | 
pictToImage(byte[] bytes)
Converts the given byte array in PICT format to a Java image. 
 | 
private static final org.slf4j.Logger LOGGER
public static final String NO_QT_MSG
public static final String JVM_64BIT_MSG
public static final String EXPIRED_QT_MSG
protected static final String[] SUFFIXES
protected static final boolean MAC_OS_X
protected static final ClassLoader LOADER
protected boolean initialized
protected boolean noQT
protected boolean jvm64Bit
protected boolean expiredQT
protected ReflectedUniverse r
protected static ClassLoader constructLoader()
protected void initClass()
public boolean canDoQT()
public boolean isJVM64Bit()
public boolean isQTExpired()
public String getQTVersion()
public ReflectedUniverse getUniverse()
public Dimension getPictDimensions(byte[] bytes) throws FormatException, ReflectException
FormatExceptionReflectExceptionpublic Image pictToImage(byte[] bytes) throws FormatException
FormatExceptionpublic void checkQTLibrary()
                    throws MissingLibraryException
MissingLibraryExceptionCopyright © 2015 Open Microscopy Environment