org.zmpp.iff
Interface FormChunk

All Superinterfaces:
Chunk
All Known Implementing Classes:
DefaultFormChunk

public interface FormChunk
extends Chunk

FormChunk is the wrapper chunk for all other chunks.

Version:
1.0
Author:
Wei-ju Wu

Field Summary
 
Fields inherited from interface org.zmpp.iff.Chunk
CHUNK_HEADER_LENGTH, CHUNK_ID_LENGTH, CHUNK_SIZEWORD_LENGTH
 
Method Summary
 Chunk getSubChunk(byte[] id)
          Returns the chunk with the specified id.
 Iterator<Chunk> getSubChunks()
          Returns an iterator of chunks contained in this form chunk.
 byte[] getSubId()
          Returns the sub id.
 
Methods inherited from interface org.zmpp.iff.Chunk
getId, getMemoryAccess, getSize, isValid
 

Method Detail

getSubId

byte[] getSubId()
Returns the sub id.

Returns:
the sub id

getSubChunks

Iterator<Chunk> getSubChunks()
Returns an iterator of chunks contained in this form chunk.

Returns:
the enumeration of sub chunks

getSubChunk

Chunk getSubChunk(byte[] id)
Returns the chunk with the specified id.

Parameters:
id - the id
Returns:
the chunk with the specified id or null if it does not exist


Copyright © 2005 . All Rights Reserved.