com.sun.j3d.loaders.objectfile
Class RgbFile
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
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 |
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
RgbFile
public RgbFile(java.io.InputStream s)
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.