de.javagl.utils.obj.impl
Class DefaultObjWriter
java.lang.Object
de.javagl.utils.obj.impl.DefaultObjWriter
- All Implemented Interfaces:
- ObjWriter
public class DefaultObjWriter
- extends Object
- implements ObjWriter
Default implementation of an ObjWriter, that writes the data contained
in an Obi in the OBJ file format.
Method Summary |
void |
write(Obj obj,
OutputStream outputStream)
Writes the given Obj to the given stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultObjWriter
public DefaultObjWriter()
write
public void write(Obj obj,
OutputStream outputStream)
throws IOException
- Description copied from interface:
ObjWriter
- Writes the given Obj to the given stream
- Specified by:
write
in interface ObjWriter
- Parameters:
obj
- The Obj to write.outputStream
- The stream to write to.
- Throws:
IOException
- If an IO error occurs.