Package org.apache.poi.hslf.record
Class SoundCollection
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.SoundCollection
- All Implemented Interfaces:
GenericRecord
Is a container for all sound related atoms and containers. It contains:
- 1. SoundCollAtom (2021)
- 2. Sound (2022), for each sound, if any
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the type (held as a little endian in bytes 3 and 4) that this class handles.voidwriteOut(OutputStream out) Have the contents printer out into an OutputStream, used when writing a file back out to disk.Methods inherited from class org.apache.poi.hslf.record.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOutMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Method Details
-
getRecordType
public long getRecordType()Returns the type (held as a little endian in bytes 3 and 4) that this class handles.- Specified by:
getRecordTypein classRecord- Returns:
- the record type.
-
writeOut
Have the contents printer out into an OutputStream, used when writing a file back out to disk.- Specified by:
writeOutin classRecord- Parameters:
out- the output stream.- Throws:
IOException- if there was an error writing to the stream.
-