M3GToolkit 0.5.0

com.java4ever.m3g
Class Section

java.lang.Object
  extended bycom.java4ever.m3g.Section
Direct Known Subclasses:
ExternalReferencesSection, HeaderSection, SceneSection

public abstract class Section
extends java.lang.Object


Field Summary
static int UNCOMPRESSED
           
static int ZLIB
           
 
Constructor Summary
Section()
           
 
Method Summary
 int getChecksum()
           
 int getCompressionScheme()
           
 int getTotalSectionLength()
           
 int getUncompressedLength()
           
protected  void read(M3GInputStream is, java.util.ArrayList table)
           
protected abstract  void readObjects(M3GInputStream is, java.util.ArrayList table)
           
 void setCompressionScheme(int compressionScheme)
           
protected  void write(M3GOutputStream os, java.util.ArrayList table)
           
protected abstract  void writeObjects(M3GOutputStream os, java.util.ArrayList table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNCOMPRESSED

public static final int UNCOMPRESSED
See Also:
Constant Field Values

ZLIB

public static final int ZLIB
See Also:
Constant Field Values
Constructor Detail

Section

public Section()
Method Detail

setCompressionScheme

public void setCompressionScheme(int compressionScheme)

getCompressionScheme

public int getCompressionScheme()

getTotalSectionLength

public int getTotalSectionLength()

getUncompressedLength

public int getUncompressedLength()

getChecksum

public int getChecksum()

read

protected void read(M3GInputStream is,
                    java.util.ArrayList table)
             throws java.io.IOException
Throws:
java.io.IOException

write

protected void write(M3GOutputStream os,
                     java.util.ArrayList table)
              throws java.io.IOException
Throws:
java.io.IOException

readObjects

protected abstract void readObjects(M3GInputStream is,
                                    java.util.ArrayList table)
                             throws java.io.IOException
Throws:
java.io.IOException

writeObjects

protected abstract void writeObjects(M3GOutputStream os,
                                     java.util.ArrayList table)
                              throws java.io.IOException
Throws:
java.io.IOException

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.