com.sun.j3d.loaders.objectfile
Class RgbFile

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by com.sun.j3d.loaders.objectfile.RgbFile
All Implemented Interfaces:
java.io.Closeable

 class RgbFile
extends java.io.BufferedInputStream


Field Summary
private static int DEBUG
           
(package private)  short dimension
           
(package private)  java.lang.String filename
           
(package private)  short xSize
           
(package private)  short ySize
           
(package private)  short zSize
           
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
RgbFile(java.io.InputStream s)
           
 
Method Summary
(package private)  byte getByte()
           
 java.awt.image.BufferedImage getImage()
           
(package private)  int getInt()
           
(package private)  short getShort()
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dimension

short dimension

xSize

short xSize

ySize

short ySize

zSize

short zSize

filename

java.lang.String filename

DEBUG

private static final int DEBUG
See Also:
Constant Field Values
Constructor Detail

RgbFile

public RgbFile(java.io.InputStream s)
Method Detail

getShort

short getShort()
         throws java.io.IOException
Throws:
java.io.IOException

getByte

byte getByte()
       throws java.io.IOException
Throws:
java.io.IOException

getInt

int getInt()
     throws java.io.IOException
Throws:
java.io.IOException

getImage

public java.awt.image.BufferedImage getImage()
                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.