org.iso.mpeg.mpegj.resource
Interface StaticCapability

All Known Implementing Classes:
CapabilityManager

public interface StaticCapability

Adaptive Audio-Visual Session Format ISO/IEC JTC1/SC29/WG11 - MPEG97/2566]

When initialized at an adaptive terminal, an AVSession object may query a local Terminal object through standardized interfaces to discover the terminal's configuration. This information could include the available presentation devices and their characteristics, the terminal's ability to handle certain types of media, and even cached user preferences. Then the AVSession may use this information when constructing its scene representation. For example, suppose that an AVSession object were instantiated on a terminal with a low-resolution display. By querying the Terminal object to learn the limitations of the display, the AVSession object may programmatically choose to enlarge the size of any text used in the audio-visual session.


Method Summary
 java.lang.String[] getAudioDrivers()
          Terminal Audio Enc/Dec
 int getCPUSpeed(int idx)
          Terminal CPU Speed
 java.lang.String getCPUType(int idx)
          Terminal CPU type (Pentium for instance)
 int getDisplayColorDepth()
          Terminal Display Color Depth
 java.lang.String getDisplayType()
          Terminal Display Type (e.g.
 java.lang.String getKeyboardType()
          Terminal Keyboard Type
 java.lang.String[] getMIDIDrivers()
          Terminal MIDI Enc/Dec
 java.lang.String getModemType()
          Terminal modem type [lsInternalModem]
 java.lang.String getMouseType()
          Terminal Mouse Type
 java.lang.String getNetworkType()
          Terminal Network Type
 int getNumCPUs()
          Number of Terminal CPUs
 int getNumParallelPorts()
          Terminal parallel IEEE-1284 port(s)
 int getNumSerialPorts()
          Terminal serial RS-232 port(s)
 java.lang.String getOSLanguage()
          Terminal OS language [lsLanguage]
 java.lang.String getOSType()
          Terminal OS type (for instance JavaPC, Windows, MacOS) [lsOpSys/lsSysType]
 short getScreenDepth()
          Terminal screen depth
 short getScreenResolution()
          Terminal screen resolution
 java.awt.Dimension getScreenSize()
          Terminal screen size
 java.lang.String getTerminalArchitecture()
          Terminal architecture (for instance Alpha, x86)
 java.lang.String[] getVideoDrivers()
          Terminal Video Enc/Dec
 

Method Detail

getNumCPUs

public int getNumCPUs()
Number of Terminal CPUs
Returns:
the number of CPUs that equip the terminal

getCPUSpeed

public int getCPUSpeed(int idx)
Terminal CPU Speed
Parameters:
idx - the index of the video card (idx >= 0)
Returns:
the speed (Mhz) of a terminal CPU.
Throws:
java.lang.IllegalArgumentException - the index is either negative or out of range.

getCPUType

public java.lang.String getCPUType(int idx)
                            throws java.lang.IllegalArgumentException
Terminal CPU type (Pentium for instance)
Parameters:
idx - the index of the CPU (idx >= 0)
Returns:
the type of CPU
Throws:
java.lang.IllegalArgumentException - the index is either negative or out of range.

getMouseType

public java.lang.String getMouseType()
Terminal Mouse Type
Returns:
the mouse type

getDisplayColorDepth

public int getDisplayColorDepth()
Terminal Display Color Depth
Returns:
the display color depth (bits per pixel)

getDisplayType

public java.lang.String getDisplayType()
Terminal Display Type (e.g. VGA)
Returns:
the display type

getKeyboardType

public java.lang.String getKeyboardType()
Terminal Keyboard Type
Returns:
the keyboard type, NULL if the keyboard is not present.

getNetworkType

public java.lang.String getNetworkType()
Terminal Network Type
Returns:
the network type.

getNumParallelPorts

public int getNumParallelPorts()
Terminal parallel IEEE-1284 port(s)
Returns:
the number of parallel ports present on the terminal.

getNumSerialPorts

public int getNumSerialPorts()
Terminal serial RS-232 port(s)
Returns:
the number of serial ports present on the terminal.

getScreenSize

public java.awt.Dimension getScreenSize()
Terminal screen size
Returns:
the screen size (pixel x pixel)

getScreenDepth

public short getScreenDepth()
Terminal screen depth
Returns:
the screen depth (bits/inch)

getScreenResolution

public short getScreenResolution()
Terminal screen resolution
Returns:
the screen resolution (dots/inch)

getOSLanguage

public java.lang.String getOSLanguage()
Terminal OS language [lsLanguage]
Returns:
the language of the OS version installed on the terminal.

getOSType

public java.lang.String getOSType()
Terminal OS type (for instance JavaPC, Windows, MacOS) [lsOpSys/lsSysType]
Returns:
the OS type installed on the terminal.

getTerminalArchitecture

public java.lang.String getTerminalArchitecture()
Terminal architecture (for instance Alpha, x86)
Returns:
the terminal architecture type.

getAudioDrivers

public java.lang.String[] getAudioDrivers()
Terminal Audio Enc/Dec
Returns:
the available audio drivers.

getMIDIDrivers

public java.lang.String[] getMIDIDrivers()
Terminal MIDI Enc/Dec
Returns:
the available MIDI drivers.

getVideoDrivers

public java.lang.String[] getVideoDrivers()
Terminal Video Enc/Dec
Returns:
the available video drivers.

getModemType

public java.lang.String getModemType()
Terminal modem type [lsInternalModem]
Returns:
the modem speed ("28K", "56K" etc.) or NULL is the modem is not installed.