All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.mediamanager.ContentObject

java.lang.Object
   |
   +----iceberg.mediamanager.ContentObject

public abstract class ContentObject
extends Object
implements Serializable

Variable Index

 o AUDIOSUMMARY
 o GSMAUDIO
 o GSMSUMMARY
 o OUTLINE
 o PLAINAUDIO
 o PLAINTEXT
 o SKIMMEDAUDIO
 o TEXTSUMMARY
 o theID
 o TRANSCRIPT

Constructor Index

 o ContentObject()
 o ContentObject(ContentID)

Method Index

 o convertMimeType(String)
 o createObject(ContentID)
 o getContentID()
 o getData()
 o getMimeType()
 o PrettyPrint(PrintStream)
 o readFromConfigFile(InputStream)
 o readFromConfigFile(String)
This method is really just used for the stub service.
 o setContentID(ContentID)
 o setData(byte[])

Variables

 o PLAINTEXT
 public static final int PLAINTEXT
 o PLAINAUDIO
 public static final int PLAINAUDIO
 o SKIMMEDAUDIO
 public static final int SKIMMEDAUDIO
 o TRANSCRIPT
 public static final int TRANSCRIPT
 o OUTLINE
 public static final int OUTLINE
 o TEXTSUMMARY
 public static final int TEXTSUMMARY
 o AUDIOSUMMARY
 public static final int AUDIOSUMMARY
 o GSMAUDIO
 public static final int GSMAUDIO
 o GSMSUMMARY
 public static final int GSMSUMMARY
 o theID
 protected ContentID theID

Constructors

 o ContentObject
 public ContentObject(ContentID id)
 o ContentObject
 public ContentObject()

Methods

 o getContentID
 public ContentID getContentID()
 o setContentID
 public void setContentID(ContentID id)
 o getMimeType
 public abstract String getMimeType()
 o setData
 public abstract void setData(byte info[])
 o getData
 public abstract byte[] getData()
 o readFromConfigFile
 public abstract void readFromConfigFile(InputStream in) throws IOException
 o PrettyPrint
 public abstract void PrettyPrint(PrintStream out)
 o readFromConfigFile
 public void readFromConfigFile(String fileName) throws IOException
This method is really just used for the stub service. Basically, it loads fills the content object with data from the given filename, where the format of the file is some plaintext verion that can be created by hand. (rather than the just the serialized version of the object.

 o convertMimeType
 public static int convertMimeType(String mimetype)
 o createObject
 public static ContentObject createObject(ContentID id)

All Packages  Class Hierarchy  This Package  Previous  Next  Index