All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.mediamanager.PlainAudio
java.lang.Object
|
+----iceberg.mediamanager.ContentObject
|
+----iceberg.mediamanager.PlainAudio
- public class PlainAudio
- extends ContentObject
- implements Serializable
-
bytesPerMilli
-
-
theAudio
-
-
PlainAudio()
-
-
PlainAudio(byte[], ContentID)
-
-
convertAudioIndexToTime(int)
-
-
convertTimeToAudioIndex(int)
-
-
endTime()
- Get the time index of the ending time, which is expressed in the
time index of the original audio, even if this audio segment has
portions of the original audio removed.
-
getAudio()
-
-
getAudio(int, int)
-
-
getAudioByTime(int, int)
-
-
getData()
-
-
getMimeType()
-
-
getTranscriptContentID()
- Return what the content ID would be for this audio.
-
length()
- Get the length of this audio segement.
-
PrettyPrint(PrintStream)
-
-
readFromConfigFile(InputStream)
-
-
setData(byte[])
-
theAudio
protected byte theAudio[]
bytesPerMilli
protected int bytesPerMilli
PlainAudio
public PlainAudio()
PlainAudio
public PlainAudio(byte audio[],
ContentID id)
getData
public byte[] getData()
- Overrides:
- getData in class ContentObject
getAudio
public byte[] getAudio()
getAudio
public byte[] getAudio(int start,
int end)
getAudioByTime
public byte[] getAudioByTime(int startTime,
int endTime)
length
public int length()
- Get the length of this audio segement.
endTime
public int endTime()
- Get the time index of the ending time, which is expressed in the
time index of the original audio, even if this audio segment has
portions of the original audio removed.
convertAudioIndexToTime
public int convertAudioIndexToTime(int audioByteNumber)
convertTimeToAudioIndex
public int convertTimeToAudioIndex(int timeInMilli)
getMimeType
public String getMimeType()
- Overrides:
- getMimeType in class ContentObject
setData
public void setData(byte audio[])
- Overrides:
- setData in class ContentObject
readFromConfigFile
public void readFromConfigFile(InputStream in) throws IOException
- Overrides:
- readFromConfigFile in class ContentObject
PrettyPrint
public void PrettyPrint(PrintStream out)
- Overrides:
- PrettyPrint in class ContentObject
getTranscriptContentID
public ContentID getTranscriptContentID()
- Return what the content ID would be for this audio. This does not
guarantee that the transcript has been generated, but if it has been,
this will be its ID.
All Packages Class Hierarchy This Package Previous Next Index