com.ejie.r01f.util.multimedia
Class FLVHeader
java.lang.Object
com.ejie.r01f.util.multimedia.FLVHeader
- public class FLVHeader
- extends java.lang.Object
Esta clase obtiene la información de la cabecera de un fichero FLV
- Version:
- 1.0
- Author:
- co00519a
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLVHeader
public FLVHeader()
parseHeader
public boolean parseHeader(java.io.InputStream is)
- Parsea la cabecera del fichero FLV (InputStream)
- Parameters:
is
- InputStream del fichero
- Returns:
- true si se ha parseado, false si hay error
setCreatedDate
public void setCreatedDate(java.lang.String newCreatedDate)
- Parameters:
newCreatedDate
-
getCreatedDate
public java.lang.String getCreatedDate()
- Returns:
setMimeType
public void setMimeType(java.lang.String newMimeType)
- Parameters:
newMimeType
-
getMimeType
public java.lang.String getMimeType()
- Returns:
setWidth
public void setWidth(double newWidth)
- Parameters:
newWidth
-
getWidth
public double getWidth()
- Returns:
setHeight
public void setHeight(double newHeight)
- Parameters:
newHeight
-
getHeight
public double getHeight()
- Returns:
setAudioDataRate
public void setAudioDataRate(double newAudioDataRate)
- Parameters:
newAudioDataRate
-
getAudioDataRate
public double getAudioDataRate()
- Returns:
setVideoDataRate
public void setVideoDataRate(double newVideoDataRate)
- Parameters:
newVideoDataRate
-
getVideoDataRate
public double getVideoDataRate()
- Returns:
setFileSize
public void setFileSize(double newFileSize)
- Parameters:
newFileSize
-
getFileSize
public double getFileSize()
- Returns:
setFrameRate
public void setFrameRate(double newFrameRate)
- Parameters:
newFrameRate
-
getFrameRate
public double getFrameRate()
- Returns:
setDuration
public void setDuration(java.lang.String newDuration)
- Parameters:
newDuration
-
getDuration
public java.lang.String getDuration()
- Returns: