Modifier and Type | Field and Description |
---|---|
protected |
chunks
The cached value of the '
Chunks ' containment reference list. |
protected |
parseChunkExceptions
The cached value of the '
Parse Chunk Exceptions ' containment reference list. |
protected static long |
SIZE_EDEFAULT
The default value of the '
Size ' attribute. |
Modifier | Constructor and Description |
---|---|
protected |
RIFFWaveImpl() |
|
RIFFWaveImpl(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
|
getChunks() |
|
getChunksByEClass(EClass eClass) |
Chunk |
getFirstChunkByEClass(EClass eClass) |
|
getParseChunkExceptions() |
long |
getSize() |
void |
init(ExtendedByteBuffer buf) |
javax.sound.sampled.AudioFileFormat |
toAudioFileFormat() |
javax.sound.sampled.AudioFormat |
toAudioFormat() |
javax.sound.sampled.AudioInputStream |
toAudioInputStream() |
byte[] |
toByteArray() |
void |
write(java.io.File file) |
protectedchunks
Chunks
' containment reference list.
getChunks()
protectedparseChunkExceptions
Parse Chunk Exceptions
' containment reference list.
getParseChunkExceptions()
protected static final long SIZE_EDEFAULT
Size
' attribute.
getSize()
,
Constant Field Valuesprotected RIFFWaveImpl()
public RIFFWaveImpl(java.io.File file) throws RiffWaveException
file
- a valid RIFF Wave fileRiffWaveException
protected EClass eStaticClass()
publicgetChunks()
getChunks
in interface RIFFWave
WavPackage.getRIFFWave_Chunks()
publicgetParseChunkExceptions()
getParseChunkExceptions
in interface RIFFWave
WavPackage.getRIFFWave_ParseChunkExceptions()
public long getSize()
getSize
in interface RIFFWave
WavPackage.getRIFFWave_Size()
publicgetChunksByEClass(EClass eClass)
getChunksByEClass
in interface RIFFWave
public Chunk getFirstChunkByEClass(EClass eClass)
getFirstChunkByEClass
in interface RIFFWave
public void init(ExtendedByteBuffer buf) throws RiffWaveException
init
in interface RIFFWave
RiffWaveException
public javax.sound.sampled.AudioFileFormat toAudioFileFormat() throws javax.sound.sampled.UnsupportedAudioFileException
toAudioFileFormat
in interface RIFFWave
javax.sound.sampled.UnsupportedAudioFileException
public javax.sound.sampled.AudioFormat toAudioFormat() throws javax.sound.sampled.UnsupportedAudioFileException
toAudioFormat
in interface RIFFWave
javax.sound.sampled.UnsupportedAudioFileException
public javax.sound.sampled.AudioInputStream toAudioInputStream() throws javax.sound.sampled.UnsupportedAudioFileException
toAudioInputStream
in interface RIFFWave
javax.sound.sampled.UnsupportedAudioFileException
public byte[] toByteArray() throws RiffWaveException
toByteArray
in interface RIFFWave
RiffWaveException
public void write(java.io.File file) throws java.io.IOException, RiffWaveException
write
in interface RIFFWave
java.io.IOException
RiffWaveException
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)