org.fugerit.java.doc.ent.servlet.DataServletOutputStream Maven / Gradle / Ivy
package org.fugerit.java.doc.ent.servlet;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import javax.servlet.ServletOutputStream;
public class DataServletOutputStream extends ServletOutputStream {
private ByteArrayOutputStream baos;
/* (non-Javadoc)
* @see java.io.OutputStream#write(int)
*/
public void write(int b) throws IOException {
baos.write( b );
}
/*
*
* Crea una nuova istanza di DataServletOutputStream.
* Creates a new instance of DataServletOutputStream.
*
*
* @param baos
*/
public DataServletOutputStream(ByteArrayOutputStream baos) {
this.baos = baos;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy