1 16 17 package org.apache.cocoon.serialization; 18 19 import java.io.OutputStream ; 20 21 import de.tivano.flash.swf.publisher.SWFWriter; 22 23 29 public class SWFSerializer extends AbstractSerializer { 30 31 private final static String mimeType = "application/x-shockwave-flash"; 32 33 private SWFWriter handler; 34 35 public String getMimeType() { 36 return mimeType; 37 } 38 39 public void setOutputStream(OutputStream out) { 40 handler = new SWFWriter(out); 41 this.contentHandler = handler; 42 } 43 } 44 | Popular Tags |