componenttour.java

来自「FMJ(freedom media for java)是java视频开发的新选择」· Java 代码 · 共 34 行

JAVA
34
字号
package net.sf.fmj.qt.utils;import quicktime.QTException;import quicktime.std.comp.ComponentDescription;import quicktime.std.comp.ComponentIdentifier;import quicktime.util.QTUtils;public class ComponentTour{	  public static void main (String[  ] args) {	      try {	          QTSessionCheck.check( );	          /* use this wildcard to show all components in QT	          */	          ComponentDescription wildcard =	              new ComponentDescription( ); 	          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( );	      }	  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?