|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaudiotagger.audio.asf.data.Chunk
org.jaudiotagger.audio.asf.data.FileHeader
public class FileHeader
This class stores the information about the file, which is contained within a
special chunk of asf files.
Constructor Summary | |
---|---|
FileHeader(long fileHeaderStart,
java.math.BigInteger chunckLen,
java.math.BigInteger size,
java.math.BigInteger fileTime,
java.math.BigInteger pkgCount,
java.math.BigInteger dur,
java.math.BigInteger timestampStart,
java.math.BigInteger timestampEnd,
long headerFlags,
long minPkgSize,
long maxPkgSize,
long uncmpVideoFrameSize)
Creates an instance. |
Method Summary | |
---|---|
java.math.BigInteger |
getDuration()
|
int |
getDurationInSeconds()
This method converts getDuration() from 100ns steps to normal
seconds. |
java.util.Date |
getFileCreationTime()
|
java.math.BigInteger |
getFileSize()
|
long |
getFlags()
|
long |
getMaxPackageSize()
|
long |
getMinPackageSize()
|
java.math.BigInteger |
getPackageCount()
|
float |
getPreciseDuration()
This method converts getDuration() from 100ns steps to normal
seconds with a fractional part taking milliseconds. |
java.math.BigInteger |
getTimeEndPos()
|
java.math.BigInteger |
getTimeStartPos()
|
long |
getUncompressedFrameSize()
|
java.lang.String |
prettyPrint()
(overridden) |
Methods inherited from class org.jaudiotagger.audio.asf.data.Chunk |
---|
getChunckEnd, getChunkLength, getGuid, getPosition, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileHeader(long fileHeaderStart, java.math.BigInteger chunckLen, java.math.BigInteger size, java.math.BigInteger fileTime, java.math.BigInteger pkgCount, java.math.BigInteger dur, java.math.BigInteger timestampStart, java.math.BigInteger timestampEnd, long headerFlags, long minPkgSize, long maxPkgSize, long uncmpVideoFrameSize)
fileHeaderStart
- Position in file or stream, where the file header starts.chunckLen
- Length of the file header (chunk)size
- Size of file or streamfileTime
- Time file or stream was created. Time is calculated since 1st
january of 1601 in 100ns steps.pkgCount
- Number of stream packages.dur
- Duration of media clip in 100ns stepstimestampStart
- Timestamp of start timeStartPos
timestampEnd
- Timestamp of end timeEndPos
headerFlags
- some stream related flags.minPkgSize
- minimun size of packagesmaxPkgSize
- maximum size of packagesuncmpVideoFrameSize
- Size of an uncompressed Video Frame.Method Detail |
---|
public java.math.BigInteger getDuration()
public int getDurationInSeconds()
getDuration()
from 100ns steps to normal
seconds.
public java.util.Date getFileCreationTime()
public java.math.BigInteger getFileSize()
public long getFlags()
public long getMaxPackageSize()
public long getMinPackageSize()
public java.math.BigInteger getPackageCount()
public float getPreciseDuration()
getDuration()
from 100ns steps to normal
seconds with a fractional part taking milliseconds.
public java.math.BigInteger getTimeEndPos()
public java.math.BigInteger getTimeStartPos()
public long getUncompressedFrameSize()
public java.lang.String prettyPrint()
prettyPrint
in class Chunk
entagged.audioformats.asf.data.Chunk#prettyPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |