public class LegacyQTTools extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | EXPIRED_QT_MSG | 
| protected boolean | expiredQTFlag indicating QuickTime for Java has expired. | 
| protected boolean | initializedFlag indicating this class has been initialized. | 
| static String | JVM_64BIT_MSG | 
| protected boolean | jvm64BitFlag indicating 64-bit JVM (does not support QTJava). | 
| protected static ClassLoader | LOADERThis 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 | noQTFlag indicating QuickTime for Java is not installed. | 
| protected loci.common.ReflectedUniverse | rReflection 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. | 
| loci.common.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 loci.common.ReflectedUniverse r
protected static ClassLoader constructLoader()
protected void initClass()
public boolean canDoQT()
public boolean isJVM64Bit()
public boolean isQTExpired()
public String getQTVersion()
public loci.common.ReflectedUniverse getUniverse()
public Dimension getPictDimensions(byte[] bytes) throws FormatException, loci.common.ReflectException
FormatExceptionloci.common.ReflectExceptionpublic Image pictToImage(byte[] bytes) throws FormatException
FormatExceptionpublic void checkQTLibrary()
                    throws MissingLibraryException
MissingLibraryExceptionCopyright © 2017 Open Microscopy Environment