|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.quicktime.AbstractQuickTimeStream.Atom
org.monte.media.quicktime.AbstractQuickTimeStream.DataAtom
protected class AbstractQuickTimeStream.DataAtom
Data Atom.
| Field Summary | |
|---|---|
protected DataAtomOutputStream |
data
|
protected boolean |
finished
|
| Fields inherited from class org.monte.media.quicktime.AbstractQuickTimeStream.Atom |
|---|
offset, type |
| Constructor Summary | |
|---|---|
AbstractQuickTimeStream.DataAtom(java.lang.String type)
Creates a new DataAtom at the current position of the ImageOutputStream. |
|
| Method Summary | |
|---|---|
void |
finish()
Writes the atom to the ImageOutputStream and disposes it. |
long |
getOffset()
Returns the offset of this atom to the beginning of the random access file |
DataAtomOutputStream |
getOutputStream()
|
long |
size()
Returns the size of the atom including the size of the atom header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DataAtomOutputStream data
protected boolean finished
| Constructor Detail |
|---|
public AbstractQuickTimeStream.DataAtom(java.lang.String type)
throws java.io.IOException
type - The type name of the atom.
java.io.IOException| Method Detail |
|---|
public DataAtomOutputStream getOutputStream()
public long getOffset()
public void finish()
throws java.io.IOException
AbstractQuickTimeStream.Atom
finish in class AbstractQuickTimeStream.Atomjava.io.IOExceptionpublic long size()
AbstractQuickTimeStream.Atom
size in class AbstractQuickTimeStream.Atom
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||