com.ritolaaudio.simplewavio.files
Class Unrecognized

java.lang.Object
  extended by com.ritolaaudio.simplewavio.files.RiffChunk
      extended by com.ritolaaudio.simplewavio.files.Unrecognized
All Implemented Interfaces:
java.lang.Comparable<RiffChunk>

public class Unrecognized
extends RiffChunk


Field Summary
(package private)  byte[] unrecognizedRawData
           
 
Fields inherited from class com.ritolaaudio.simplewavio.files.RiffChunk
anotherWorkChunk4, childMap, workChunk2, workChunk4
 
Constructor Summary
Unrecognized()
           
 
Method Summary
 int _sizeEstimateInBytes()
          DO NOT INVOKE OUTSIDE RIFFCHUNK OBJECTS
Called internally when pre-calculating the size of a RIFF file.
 void _toData(java.nio.ByteBuffer buffer)
          DO NOT INVOKE OUTSIDE RIFF CHUNK OBJECTS
Called internally when recursively building a chunk hierarchy from RIFF data.
 void fromData(java.nio.ByteBuffer fileBuffer)
           
 byte[] getUnrecognizedRawData()
           
 void setUnrecognizedRawData(byte[] unrecognizedRawData)
           
 
Methods inherited from class com.ritolaaudio.simplewavio.files.RiffChunk
addChildChunk, childrenSizeEstimateInBytes, childrenToData, compareTo, getChildChunk, getOrderID, parseRiff, ParseRiff, printChildChunks, readUnsignedInt, readUnsignedShort, sizeEstimateInBytes, toData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unrecognizedRawData

byte[] unrecognizedRawData
Constructor Detail

Unrecognized

public Unrecognized()
Method Detail

fromData

public void fromData(java.nio.ByteBuffer fileBuffer)
Specified by:
fromData in class RiffChunk

_toData

public void _toData(java.nio.ByteBuffer buffer)
Description copied from class: RiffChunk
DO NOT INVOKE OUTSIDE RIFF CHUNK OBJECTS
Called internally when recursively building a chunk hierarchy from RIFF data.

Specified by:
_toData in class RiffChunk

_sizeEstimateInBytes

public int _sizeEstimateInBytes()
Description copied from class: RiffChunk
DO NOT INVOKE OUTSIDE RIFFCHUNK OBJECTS
Called internally when pre-calculating the size of a RIFF file. This portion is developer-specified.

Specified by:
_sizeEstimateInBytes in class RiffChunk
Returns:

getUnrecognizedRawData

public byte[] getUnrecognizedRawData()
Returns:
the unrecognizedRawData

setUnrecognizedRawData

public void setUnrecognizedRawData(byte[] unrecognizedRawData)
Parameters:
unrecognizedRawData - the unrecognizedRawData to set