FileDocCategorySizeDatePackage
FourCharCodeTest.javaAPI DocExample1633Wed Nov 10 12:37:52 GMT 2004com.oreilly.qtjnotebook.ch04

FourCharCodeTest

public class FourCharCodeTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        if (args.length < 1) {
            System.out.println ("Usage: FourCharCodeTest <fcc>");
            return;
        }
        System.out.println (args[0]);
        int fcc = QTUtils.toOSType (args[0]);
        System.out.println (fcc);
        System.out.println (Integer.toHexString (fcc));
        String fccString = QTUtils.fromOSType(fcc);
        System.out.println (fccString);