public class ChunkSilentImpl extends ChunkImpl implements ChunkSilent
The following features are implemented:
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Long |
NUMBER_OF_SILENT_SAMPLES_EDEFAULT
The default value of the '
Number Of Silent Samples ' attribute. |
protected java.lang.Long |
numberOfSilentSamples
The cached value of the '
Number Of Silent Samples ' attribute. |
BLOCK_ALIGNED_SIZE_EDEFAULT, CHUNK_TYPE_ID_EDEFAULT, CHUNK_TYPE_ID_VALUE_EDEFAULT, SIZE_EDEFAULT
Modifier | Constructor and Description |
---|---|
protected |
ChunkSilentImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
ChunkTypeID |
getChunkTypeID() |
int |
getChunkTypeIDValue() |
java.lang.Long |
getNumberOfSilentSamples() |
long |
getSize() |
void |
init(RIFFWave riffWave,
ExtendedByteBuffer buf) |
void |
setNumberOfSilentSamples(java.lang.Long newNumberOfSilentSamples) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
getBlockAlignedSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBlockAlignedSize
protected static final java.lang.Long NUMBER_OF_SILENT_SAMPLES_EDEFAULT
Number Of Silent Samples
' attribute.
getNumberOfSilentSamples()
protected java.lang.Long numberOfSilentSamples
Number Of Silent Samples
' attribute.
getNumberOfSilentSamples()
public void init(RIFFWave riffWave, ExtendedByteBuffer buf) throws RiffWaveException
ChunkImpl
init
in interface Chunk
init
in class ChunkImpl
RiffWaveException
protected EClass eStaticClass()
eStaticClass
in class ChunkImpl
public java.lang.Long getNumberOfSilentSamples()
getNumberOfSilentSamples
in interface ChunkSilent
ChunkSilent.setNumberOfSilentSamples(Long)
,
WavPackage.getChunkSilent_NumberOfSilentSamples()
public void setNumberOfSilentSamples(java.lang.Long newNumberOfSilentSamples)
setNumberOfSilentSamples
in interface ChunkSilent
newNumberOfSilentSamples
- the new value of the 'Number Of Silent Samples' attribute.ChunkSilent.getNumberOfSilentSamples()
public ChunkTypeID getChunkTypeID()
ChunkImpl
getChunkTypeID
in interface Chunk
getChunkTypeID
in class ChunkImpl
ChunkTypeID
,
WavPackage.getChunk_ChunkTypeID()
public int getChunkTypeIDValue()
ChunkImpl
getChunkTypeIDValue
in interface Chunk
getChunkTypeIDValue
in class ChunkImpl
WavPackage.getChunk_ChunkTypeIDValue()
public long getSize()
ChunkImpl
getSize
in interface Chunk
getSize
in class ChunkImpl
WavPackage.getChunk_Size()
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 java.lang.String toString()
public byte[] toByteArray()
ChunkImpl
toByteArray
in interface Chunk
toByteArray
in class ChunkImpl