home *** CD-ROM | disk | FTP | other *** search
- package javax.servlet;
-
- import java.io.CharConversionException;
- import java.io.IOException;
- import java.io.OutputStream;
-
- public abstract class ServletOutputStream extends OutputStream {
- protected ServletOutputStream() {
- }
-
- public void print(String var1) throws IOException {
- int var2 = var1.length();
-
- for(int var3 = 0; var3 < var2; ++var3) {
- char var4 = var1.charAt(var3);
- if ((var4 & '\uff00') != 0) {
- throw new CharConversionException("Not an ISO 8859/1 character: " + var4);
- }
-
- ((OutputStream)this).write(var4);
- }
-
- }
-
- public void print(boolean var1) throws IOException {
- this.print(var1 ? "true" : "false");
- }
-
- public void print(char var1) throws IOException {
- this.print(String.valueOf(var1));
- }
-
- public void print(int var1) throws IOException {
- this.print(String.valueOf(var1));
- }
-
- public void print(long var1) throws IOException {
- this.print(String.valueOf(var1));
- }
-
- public void print(float var1) throws IOException {
- this.print(String.valueOf(var1));
- }
-
- public void print(double var1) throws IOException {
- this.print(String.valueOf(var1));
- }
-
- public void println() throws IOException {
- this.print("\r\n");
- }
-
- public void println(String var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(boolean var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(char var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(int var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(long var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(float var1) throws IOException {
- this.print(var1);
- this.println();
- }
-
- public void println(double var1) throws IOException {
- this.print(var1);
- this.println();
- }
- }
-