|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ext.mediamanager.FileProperties
net.sf.ext.mediamanager.FilePropertiesMPEG
Constructor Summary | |
FilePropertiesMPEG()
|
Method Summary | |
int |
getAudioBitRate()
Returns the audio bit rate. |
int |
getAudioChannels()
Returns the audio channels. |
java.lang.String |
getAudioCodec()
Returns the audio codec. |
int |
getAudioSampleRate()
Returns the audio rate. |
int |
getDuration()
Returns the duration. |
int |
getVideoBitRate()
Returns the video bit rate. |
java.lang.String |
getVideoCodec()
Returns the video codec. |
int |
getVideoFps()
|
int |
getVideoHeight()
|
java.lang.String |
getVideoResolution()
Returns the resolution. |
int |
getVideoWidth()
|
void |
process(java.io.DataInputStream dataStream)
Processes a file from the given DataInputStream. |
int |
readUnsignedByte(java.io.DataInputStream dataStream)
Reads an unsigned byte and returns its int representation. |
int[] |
readUnsignedBytes(java.io.DataInputStream dataStream,
int n)
Reads n unsigned bytes and returns it in an int[n]. |
int |
readUnsignedInt16(java.io.DataInputStream dataStream)
Reads an unsigned 16-bit integer. |
int |
readUnsignedInt32(java.io.DataInputStream dataStream)
Reads an unsigned 32-bit integer. |
void |
setAudioBitRate(int audioBitRate)
Sets the audio bit rate. |
void |
setAudioChannels(int audioChannels)
Sets the audio channels. |
void |
setAudioCodec(java.lang.String audioCodec)
Sets the audio codec (auds handler). |
void |
setAudioRate(int audioSampleRate)
Sets the audio rate. |
void |
setDuration(int duration)
Sets the duration. |
void |
setVideoBitRate(int videoBitRate)
Sets the video bit rate. |
void |
setVideoCodec(java.lang.String videoCodec)
Sets the video codec (vids handler). |
void |
setVideoFps(int fps)
Sets the video rate. |
void |
setVideoHeight(int height)
|
void |
setVideoResolution(java.lang.String videoResolution)
Sets the resolution. |
void |
setVideoWidth(int width)
|
void |
skipBytes(java.io.DataInputStream dataStream,
int n)
Discards n bytes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilePropertiesMPEG()
Method Detail |
public void process(java.io.DataInputStream dataStream) throws java.lang.Exception
java.lang.Exception
public java.lang.String getVideoResolution()
public java.lang.String getVideoCodec()
public int getVideoFps()
public int getVideoBitRate()
public int getDuration()
public java.lang.String getAudioCodec()
public int getAudioSampleRate()
public int getAudioBitRate()
public int getAudioChannels()
public void setVideoWidth(int width)
public void setVideoHeight(int height)
public int getVideoWidth()
public int getVideoHeight()
public void setVideoResolution(java.lang.String videoResolution)
public void setVideoCodec(java.lang.String videoCodec)
public void setVideoFps(int fps)
public void setVideoBitRate(int videoBitRate)
public void setDuration(int duration)
public void setAudioCodec(java.lang.String audioCodec)
public void setAudioRate(int audioSampleRate)
public void setAudioBitRate(int audioBitRate)
public void setAudioChannels(int audioChannels)
public int readUnsignedByte(java.io.DataInputStream dataStream) throws java.lang.Exception
java.lang.Exception
public int[] readUnsignedBytes(java.io.DataInputStream dataStream, int n) throws java.lang.Exception
java.lang.Exception
public int readUnsignedInt16(java.io.DataInputStream dataStream) throws java.lang.Exception
java.lang.Exception
public int readUnsignedInt32(java.io.DataInputStream dataStream) throws java.lang.Exception
java.lang.Exception
public void skipBytes(java.io.DataInputStream dataStream, int n) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |