All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PREDATOR.ADT.AudioObject

java.lang.Object
   |
   +----PREDATOR.ADT.DataObject
           |
           +----PREDATOR.ADT.AudioObject

public class AudioObject
extends DataObject
implements CallbackObject, MIMETypeObject
Encapsulates all in-memory data regarding an audio ADT object.

See Also:
ADT_audio

Constructor Index

 o AudioObject()

Method Index

 o getFilenameExtension(ADTMetaInfo)
Provides a filename extension suitable for files storing data of this MIME type.
 o getMessage()
Callback objects have the option of supplying a byte string containing additional information about the callback.
 o toString(ADTMetaInfo)
Prints the value of the audio

Constructors

 o AudioObject
 public AudioObject()

Methods

 o toString
 public String toString(ADTMetaInfo MetaInfo)
Prints the value of the audio

Parameters:
MetaInfo - The meta-info for this object
Returns:
A string holding the value of the audio
Overrides:
toString in class DataObject
 o getMessage
 public byte[] getMessage()
Callback objects have the option of supplying a byte string containing additional information about the callback. For instance, an image object might specify one of many stored resolutions.

Returns:
A binary message
 o getFilenameExtension
 public String getFilenameExtension(ADTMetaInfo MetaInfo)
Provides a filename extension suitable for files storing data of this MIME type. For instance, JPEG images will supply the extension "jpg".

Returns:
A suitable filename extension for files of this type

All Packages  Class Hierarchy  This Package  Previous  Next  Index