public class DefaultQTJavaService extends org.scijava.service.AbstractService implements QTJavaService
| Constructor and Description |
|---|
DefaultQTJavaService() |
| 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.
|
Dimension |
getPictDimensions(byte[] bytes)
Gets width and height for the given PICT bytes.
|
String |
getQTVersion()
Gets the QuickTime for Java version number.
|
org.scijava.util.ReflectedUniverse |
getUniverse()
Gets QuickTime for Java reflected universe.
|
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.
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic boolean canDoQT()
QTJavaServicecanDoQT in interface QTJavaServicepublic boolean isJVM64Bit()
QTJavaServiceisJVM64Bit in interface QTJavaServicepublic boolean isQTExpired()
QTJavaServiceisQTExpired in interface QTJavaServicepublic String getQTVersion()
QTJavaServicegetQTVersion in interface QTJavaServicepublic org.scijava.util.ReflectedUniverse getUniverse()
QTJavaServicegetUniverse in interface QTJavaServicepublic Dimension getPictDimensions(byte[] bytes) throws FormatException, org.scijava.util.ReflectException
QTJavaServicegetPictDimensions in interface QTJavaServiceFormatExceptionorg.scijava.util.ReflectExceptionpublic Image pictToImage(byte[] bytes) throws FormatException
QTJavaServicepictToImage in interface QTJavaServiceFormatExceptionpublic void checkQTLibrary()
throws MissingLibraryException
QTJavaServicecheckQTLibrary in interface QTJavaServiceMissingLibraryExceptionCopyright © 2011–2026 SCIFIO. All rights reserved.