|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloci.formats.LegacyQTTools
public class LegacyQTTools
Utility class for working with QuickTime for Java.
Field Summary | |
---|---|
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. |
protected static ClassLoader |
LOADER
This custom class loader searches additional paths for the QTJava.zip library. |
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 Summary | |
---|---|
LegacyQTTools()
|
Method Summary | |
---|---|
boolean |
canDoQT()
Whether QuickTime is available to this JVM. |
protected static ClassLoader |
constructLoader()
|
Dimension |
getPictDimensions(byte[] bytes)
Gets width and height for the given PICT bytes. |
ReflectedUniverse |
getUniverse()
Gets QuickTime for Java reflected universe. |
protected void |
initClass()
Initializes the class. |
boolean |
isQTExpired()
Whether QuickTime for Java has expired. |
Image |
pictToImage(byte[] bytes)
Converts the given byte array in PICT format to a Java image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NO_QT_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 expiredQT
protected ReflectedUniverse r
Constructor Detail |
---|
public LegacyQTTools()
Method Detail |
---|
protected static ClassLoader constructLoader()
protected void initClass()
public boolean canDoQT()
public boolean isQTExpired()
public ReflectedUniverse getUniverse()
public Dimension getPictDimensions(byte[] bytes) throws FormatException, ReflectException
FormatException
ReflectException
public Image pictToImage(byte[] bytes) throws FormatException
FormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |