try {
QTSessionCheck.check();
/* use this wildcard to show all components in QT
*/
ComponentDescription wildcard =
new ComponentDescription();
/*
ComponentDescription wildcard =
new ComponentDescription(StdQTConstants.movieImportType);
*/
ComponentIdentifier ci = null;
while ( (ci = ComponentIdentifier.find(ci, wildcard)) != null) {
ComponentDescription cd = ci.getInfo();
System.out.println (cd.getName() +
" (" +
QTUtils.fromOSType (cd.getType()) +
"/" +
QTUtils.fromOSType (cd.getSubType()) +
") " +
cd.getInformationString());
}
} catch (QTException qte) {
qte.printStackTrace();
}