@@ -0,0 +1,846 @@
+package se.raddo.raddose3D;%0A%0A/**%0A * WriterCompress applies ZIP compression to any output, and passes it on to%0A * another Writer instance.%0A */%0Apublic class WriterCompress implements Writer %7B%0A  /** The Writer class that output should be directed to. */%0A  private final Writer output;%0A%0A  /**%0A   * Compress any output and send it on to another Writer instance.%0A   * %0A   * @param w%0A   *          Writer instance, where the compressed output stream should end up.%0A   */%0A  public WriterCompress(Writer w) %7B%0A    output = w;%0A  %7D%0A%0A  @Override%0A  public void write(String s) %7B%0A    // TODO Auto-generated method stub%0A    output.write(s);%0A  %7D%0A%0A  @Override%0A  public void write(StringBuffer b) %7B%0A    // TODO Auto-generated method stub%0A    output.write(b);%0A  %7D%0A%0A  @Override%0A  public void close() %7B%0A    // TODO Auto-generated method stub%0A    output.close();%0A  %7D%0A%7D%0A

Compressing output