public abstract class ChunkImpl extends EObjectImpl implements Chunk
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected static long |
BLOCK_ALIGNED_SIZE_EDEFAULT
The default value of the '
Block Aligned Size' attribute. |
protected static ChunkTypeID |
CHUNK_TYPE_ID_EDEFAULT
The default value of the '
Chunk Type ID' attribute. |
protected static int |
CHUNK_TYPE_ID_VALUE_EDEFAULT
The default value of the '
Chunk Type ID Value' attribute. |
protected static long |
SIZE_EDEFAULT
The default value of the '
Size' attribute. |
| Modifier | Constructor and Description |
|---|---|
protected |
ChunkImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
protected EClass |
eStaticClass() |
long |
getBlockAlignedSize() |
ChunkTypeID |
getChunkTypeID() |
int |
getChunkTypeIDValue() |
long |
getSize() |
void |
init(RIFFWave riffWave,
ExtendedByteBuffer buf) |
byte[] |
toByteArray() |
protected static final long BLOCK_ALIGNED_SIZE_EDEFAULT
Block Aligned Size' attribute.
getBlockAlignedSize(),
Constant Field Valuesprotected static final long SIZE_EDEFAULT
Size' attribute.
getSize(),
Constant Field Valuesprotected static final ChunkTypeID CHUNK_TYPE_ID_EDEFAULT
Chunk Type ID' attribute.
getChunkTypeID()protected static final int CHUNK_TYPE_ID_VALUE_EDEFAULT
Chunk Type ID Value' attribute.
getChunkTypeIDValue(),
Constant Field Valuesprotected EClass eStaticClass()
public long getBlockAlignedSize()
getBlockAlignedSize in interface ChunkWavPackage.getChunk_BlockAlignedSize()public long getSize()
getSize in interface ChunkWavPackage.getChunk_Size()public ChunkTypeID getChunkTypeID()
getChunkTypeID in interface ChunkChunkTypeID,
WavPackage.getChunk_ChunkTypeID()public int getChunkTypeIDValue()
getChunkTypeIDValue in interface ChunkWavPackage.getChunk_ChunkTypeIDValue()public void init(RIFFWave riffWave, ExtendedByteBuffer buf) throws RiffWaveException
init in interface ChunkRiffWaveExceptionpublic byte[] toByteArray()
throws RiffWaveException
toByteArray in interface ChunkRiffWaveExceptionpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public boolean eIsSet(int featureID)