public class ChunkUnknownImpl extends ChunkImpl implements ChunkUnknown
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data
The cached value of the '
Data' attribute. |
protected static byte[] |
DATA_EDEFAULT
The default value of the '
Data' attribute. |
protected static java.lang.Long |
UNKNOWN_CHUNK_TYPE_ID_VALUE_EDEFAULT
The default value of the '
Unknown Chunk Type Id Value' attribute. |
protected java.lang.Long |
unknownChunkTypeIdValue
The cached value of the '
Unknown Chunk Type Id Value' attribute. |
protected static long |
WAV_RANDOM_ACCESS_FILE_POINTER_EDEFAULT
The default value of the '
Wav Random Access File Pointer' attribute. |
protected long |
wavRandomAccessFilePointer
The cached value of the '
Wav Random Access File Pointer' attribute. |
BLOCK_ALIGNED_SIZE_EDEFAULT, CHUNK_TYPE_ID_EDEFAULT, CHUNK_TYPE_ID_VALUE_EDEFAULT, SIZE_EDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
ChunkUnknownImpl() |
| 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() |
byte[] |
getData() |
long |
getSize() |
java.lang.Long |
getUnknownChunkTypeIdValue() |
long |
getWavRandomAccessFilePointer() |
void |
init(RIFFWave riffWave,
ExtendedByteBuffer buf) |
void |
setData(byte[] newData) |
void |
setUnknownChunkTypeIdValue(java.lang.Long newUnknownChunkTypeIdValue) |
void |
setWavRandomAccessFilePointer(long newWavRandomAccessFilePointer) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
getBlockAlignedSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlockAlignedSizeprotected static final byte[] DATA_EDEFAULT
Data' attribute.
getData()protected static final java.lang.Long UNKNOWN_CHUNK_TYPE_ID_VALUE_EDEFAULT
Unknown Chunk Type Id Value' attribute.
getUnknownChunkTypeIdValue()protected java.lang.Long unknownChunkTypeIdValue
Unknown Chunk Type Id Value' attribute.
getUnknownChunkTypeIdValue()protected static final long WAV_RANDOM_ACCESS_FILE_POINTER_EDEFAULT
Wav Random Access File Pointer' attribute.
protected long wavRandomAccessFilePointer
Wav Random Access File Pointer' attribute.
getWavRandomAccessFilePointer()public void init(RIFFWave riffWave, ExtendedByteBuffer buf)
ChunkImplpublic ChunkTypeID getChunkTypeID()
ChunkImplgetChunkTypeID in interface ChunkgetChunkTypeID in class ChunkImplChunkTypeID,
WavPackage.getChunk_ChunkTypeID()public int getChunkTypeIDValue()
ChunkImplgetChunkTypeIDValue in interface ChunkgetChunkTypeIDValue in class ChunkImplWavPackage.getChunk_ChunkTypeIDValue()public long getSize()
ChunkImplgetSize in interface ChunkgetSize in class ChunkImplWavPackage.getChunk_Size()protected EClass eStaticClass()
eStaticClass in class ChunkImplpublic byte[] getData()
getData in interface ChunkUnknownChunkUnknown.setData(byte[]),
WavPackage.getChunkUnknown_Data()public void setData(byte[] newData)
setData in interface ChunkUnknownnewData - the new value of the 'Data' attribute.ChunkUnknown.getData()public java.lang.Long getUnknownChunkTypeIdValue()
getUnknownChunkTypeIdValue in interface ChunkUnknownChunkUnknown.setUnknownChunkTypeIdValue(Long),
WavPackage.getChunkUnknown_UnknownChunkTypeIdValue()public void setUnknownChunkTypeIdValue(java.lang.Long newUnknownChunkTypeIdValue)
setUnknownChunkTypeIdValue in interface ChunkUnknownnewUnknownChunkTypeIdValue - the new value of the 'Unknown Chunk Type Id Value' attribute.ChunkUnknown.getUnknownChunkTypeIdValue()public long getWavRandomAccessFilePointer()
getWavRandomAccessFilePointer in interface ChunkUnknownChunkUnknown.setWavRandomAccessFilePointer(long),
WavPackage.getChunkUnknown_WavRandomAccessFilePointer()public void setWavRandomAccessFilePointer(long newWavRandomAccessFilePointer)
setWavRandomAccessFilePointer in interface ChunkUnknownnewWavRandomAccessFilePointer - the new value of the 'Wav Random Access File Pointer' attribute.ChunkUnknown.getWavRandomAccessFilePointer()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()
ChunkImpltoByteArray in interface ChunktoByteArray in class ChunkImpl