Hello-
I'm trying to figure out if there is a way to write Compressed Geometry to
an OutputStream instead of a RandomAccessFile.
If anyone is interested, here is the code I am using:
//-----
public static void Write(String filename, GeometryInfo geomInfo) throws
java.lang.Exception
{
CompressionStream cStream = new CompressionStream(geomInfo);
RandomAccessFile rfile = new RandomAccessFile(filename,"rw");
CompressedGeometryFile file = new CompressedGeometryFile(rfile);
GeometryCompressor comp = new GeometryCompressor();
comp.compress(cStream,file);
}
//----
Thanks much,
Adam
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".