|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.ExMediaAtom
public final class ExMediaAtom
An atom record that specifies information about external audio or video data.
Field Summary | |
---|---|
static int |
fLoop
A bit that specifies whether the audio or video data is repeated continuously during playback. |
static int |
fNarration
A bit that specifies whether the audio data is recorded narration for the slide show. |
static int |
fRewind
A bit that specifies whether the audio or video data is rewound after playing. |
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
Constructor Summary | |
---|---|
protected |
ExMediaAtom()
Constructs a brand new link related atom record. |
protected |
ExMediaAtom(byte[] source,
int start,
int len)
Constructs the link related atom record from its source data. |
Method Summary | |
---|---|
boolean |
getFlag(int bit)
|
int |
getMask()
A bit mask specifying options for displaying headers and footers |
int |
getObjectId()
A 4-byte unsigned integer that specifies an ID for an external object. |
long |
getRecordType()
Gets the record type. |
void |
setFlag(int bit,
boolean value)
|
void |
setMask(int mask)
A bit mask specifying options for displaying video |
void |
setObjectId(int id)
A 4-byte unsigned integer that specifies an ID for an external object. |
java.lang.String |
toString()
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk |
Methods inherited from class org.apache.poi.hslf.record.RecordAtom |
---|
getChildRecords, isAnAtom |
Methods inherited from class org.apache.poi.hslf.record.Record |
---|
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int fLoop
public static final int fRewind
public static final int fNarration
Constructor Detail |
---|
protected ExMediaAtom()
protected ExMediaAtom(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.Method Detail |
---|
public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
writeOut
in class Record
out
- the output stream to write to.
java.io.IOException
- if an error occurs.public int getObjectId()
public void setObjectId(int id)
id
- A 4-byte unsigned integer that specifies an ID for an external object.public int getMask()
public void setMask(int mask)
mask
- A bit mask specifying options for displaying videopublic boolean getFlag(int bit)
bit
- the bit to check
public void setFlag(int bit, boolean value)
bit
- the bit to setvalue
- whether the specified bit is setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |