com.microcrowd.loader.java3d.max3ds.chunks
Class StringChunk

java.lang.Object
  extended by com.microcrowd.loader.java3d.max3ds.chunks.Chunk
      extended by com.microcrowd.loader.java3d.max3ds.chunks.StringChunk

public class StringChunk
extends Chunk

These have no subchunks. Only String data terminated with a null. For strings with unknown length use ChunkChopper.getString() This can also be used for chunks that have data of a known length beginning with a string with unnessecary(you don't want to use it) data following.


Constructor Summary
StringChunk()
           
 
Method Summary
 void loadData(ChunkChopper chopper)
          Reads in all the data for this chunk and makes a string out of it.
 
Methods inherited from class com.microcrowd.loader.java3d.max3ds.chunks.Chunk
addSubChunk, getDescription, getName, getSubChunk, initialize, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringChunk

public StringChunk()
Method Detail

loadData

public void loadData(ChunkChopper chopper)
Reads in all the data for this chunk and makes a string out of it. This will set the data in the chopper with a key of this chunks id.

Overrides:
loadData in class Chunk
Parameters:
chopper - the chopper that is doing the parsing.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.