MockServletOutputStream.java

00001 
00025 package org.openmobileis.test.mock.embedded;
00026 
00027 import java.io.IOException;
00028 import java.io.OutputStream;
00029 
00030 import javax.servlet.ServletOutputStream;
00031 
00032 /*
00033  * Title:        OpenMobileIS project source <BR>
00034  * Description:
00035  * @author      Philippe Delrieu
00036  * @since       JDK 1.1
00037  * @version 1.0.
00038  */
00039 
00040 public final class MockServletOutputStream extends ServletOutputStream {
00041 
00042   private OutputStream out;
00043 
00047   public MockServletOutputStream(OutputStream out) {
00048     this.out = out;
00049   }
00050 
00051   /* (non-Javadoc)
00052    * @see java.io.OutputStream#write(int)
00053    */
00054   public void write(int arg0) throws IOException {
00055     out.write(arg0);
00056   }
00057 
00058 }

Generated on Mon Dec 4 11:03:28 2006 for OpenMobileIS by  doxygen 1.5.1-p1