/* * rawfilter.aikido * * Aikido Language System, * export version: 1.00 * Copyright (c) 2002 Sun Microsystems, Inc. * * Sun Public License Notice * * The contents of this file are subject to the Sun Public License Version 1.0 (the "License"). You * may not use this file except in compliance with the License. A copy of the License is available * at http://www.opensource.org/licenses/sunpublic.php * * The Original Code is Aikido. * The Initial Developer of the Original Code is David Allison on behalf of Sun Microsystems, Inc. * Copyright (C) Sun Microsystems, Inc. 2000-2003. All Rights Reserved. * * * Contributor(s): dallison * * Version: 1.4 * Created by dallison on 4/19/2002 * Last modified by dallison on 03/07/29 */ class RawFilter (instream, outstream, contentType) { outstream.setContentType (contentType) public function setContentLength (len) { outstream.setContentLength (len) } public operator -> (data, isout) { if (isout) { data -> outstream } else { } } }