next up previous
Next: The Quicktime for Java Up: QuickTime for Java Previous: The QTSimpleApplet Example

The QuickTime for Java Core Packages

As one would expect,The QuickTime for Java classes are grouped into a set of packages. The grouping is based on common functionality and usage. A number of packages also have subpackages that group together smaller sets of functionality.

The major packages generally have a constants interface that presents all of the constants that relate to this general grouping and an exception class that all errors that derive from a call in this package group will throw. The packages, with descriptions of their principal classes and interfaces are now summarised:

Package Principal classes Description
  and interfaces  
quicktime QTSession, The QTSession class has calls that set up and
  QTException initialise the QuickTime engine, such as
    initialize, gestalt, and enter Movies.
quicktime.io OpenFile, QTFile, Contains calls that deal with file I/O. These
  OpenMovieFile, calls are derived from the Movies.h file.
  QTIOException  
quicktime.qd QDGraphics, Contains classes that represent the
  PixMap, Region, QuickDraw data structures that are required
  QDRect, QDColor, for the rest of the QuickTime API. These calls
  QDConstants, are derived from the QuickDraw.h and
  QDException QDOffscreen.h files. The QuickTime API
    expects data structures that belong to
    QuickDraw, such as graphics ports, GWorlds,
    rectangles, and points.
quicktime.qd3d CameraData, Contains classes that represent the
  Q3Point, Q3Vector QuickDraw 3D data structures that are
    required for the rest of the QuickTime API,
    predominantly the tweener and 3D media
    services.
quicktime.sound SndChannel, Sound, Contains classes that represent the Sound
  SPBDevice, Manager API. These calls are derived from
  SoundConstants, the Sound.h file. While some basic sound
  SoundException, recording services are provided, for more
    demanding sound input and output the
    sequence grabber components and movie
    playback services should be used.
Package Principal classes Description
  and interfaces  
quicktime.std StdQTConstants, The original QuickTime interfaces on the
  StdQTException Mac OS are contained in a collection of eight
    header files that describe the standard
    QuickTime API. As such, nearly all of the
    functions defined in these files are to be
    found in classes in the quicktime.std group
    of packages.
quicktime.std.anim Sprite, Classes that provide support for animation.
  SpriteWorld QuickTime can be used as a real time
    rendering system for animation, distinct from
    a data format-that is, the movie. Thus, you
    can create a graphics space (SpriteWorld)
    within which characters (Sprite objects) can
    be manipulated.
quicktime.std.clocks Clock, Contains classes that provide timing services,
  TimeBase, including support for the creation of
  QTCallback hierarchical dependencies between time
  and subclasses hierarchical dependencies between time
    bases, the usage of callbacks for user
    scheduling of events or notification, and the
    capability of instantiating the system clocks
    that provide the timing services.
quicktime.std.com Component, QuickTime is a component-based
  Component-Description architecture, with much of its functionality
    being provided through the creation and
    implementation of a particular component's
    API. This package contains classes that
    provide basic support for this component
    architecture; a full implementation is
    forthcoming.
quicktime.std.image CodecComponent, Contains classes that present the Image
  QTImage, Compression Manager. These classes provide
  CSequence, Matrix control for the compression and
    decompression of both single images and
    sequences of images. It also contains the
    Matrix class, which (like the Region class in
    the qd package) is used generally throughout
    QuickTime to alter and control the rendering
    of 2D images.
Package Principal classes Description
  and interfaces  
quicktime.std.movies AtomContainer, Contains the principal data structures of
  Movie, QuickTime, including classes that represent
  MovieController, QuickTime atom containers, movies, movie
  Track controllers, and tracks-all essential for
    creating and manipulating QuickTime
    movies. A movie containing one or more
    tracks is the primary way that data is
    organized and managed in QuickTime. A
    Movie object can be created from a file or from
    memory and can be saved to a file. The
    MovieController class provides the standard
    way that QuickTime data (movies) are
    presented and controlled. AtomContainer
    objects are the standard data structures used
    to store and retrieve data in QuickTime.
quicktime.std.movies.media DataRef, Media A Track object is a media neutral structure,
  and subclasses, but it contains a single Media type that
  MediaHandler defines the kind of data that a Track is
  and subclasses, representing. The Media, MediaHandler and
  Sample SampleDescription subclasses describe the
  Description and various media types that QuickTime can
  subclasses present. Media classes control references to
    data that comprise the raw media data.
Package Principal classes Description
  and interfaces  
quicktime.std.music AtomicInstrument, Contains classes that deal with the general
  NoteChannel, music architecture provided by QuickTime.
  NoteAllocator This architecture can be used to capture and
    generate music (MIDI) events in real time,
    customize and create instruments, and
    eventually provide your own algorithmic
    synthesis engines.
quicktime.std.qtcomponets MovieExporter, Contains classes that interface with some of
  MovieImporter, the components that are provided to supply
  TimeCoder different services. The import and export
    components are supported, as are tween and
    timecode media components.
quicktime.std.sg SequenceGrabber, Contains classes that implement the
  SGVideoChannel, sequence grabber component for capturing
  SGSoundChannel video and audio media data.
quicktime.util QTHandle, Contains classes that represent utility
  QTByteObject, functionality required by the general
  QTPointer, QuickTime API. The most commonly used
  UtilException feature of this package is a set of classes for
    memory management from Memory.h. These
    classes typically form the base class for actual
    QuickTime objects.
quicktime.vr QTVRConstants, Contains classes that represent the
  QTVRInstance, QuickTime Virtual Reality API. The package
  QTVRException contains all the QuickTime VR interface
    constants, the QTVRInstance class and some
    QTVR callbacks for presentation of QTVR
    content.


next up previous
Next: The Quicktime for Java Up: QuickTime for Java Previous: The QTSimpleApplet Example
Dave Marshall
10/4/2001