home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / jsp-api.jar / javax / servlet / jsp / JspWriter.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-08-28  |  1.3 KB  |  76 lines

  1. package javax.servlet.jsp;
  2.  
  3. import java.io.IOException;
  4. import java.io.Writer;
  5.  
  6. public abstract class JspWriter extends Writer {
  7.    public static final int NO_BUFFER = 0;
  8.    public static final int DEFAULT_BUFFER = -1;
  9.    public static final int UNBOUNDED_BUFFER = -2;
  10.    protected int bufferSize;
  11.    protected boolean autoFlush;
  12.  
  13.    protected JspWriter(int bufferSize, boolean autoFlush) {
  14.       this.bufferSize = bufferSize;
  15.       this.autoFlush = autoFlush;
  16.    }
  17.  
  18.    public abstract void newLine() throws IOException;
  19.  
  20.    public abstract void print(boolean var1) throws IOException;
  21.  
  22.    public abstract void print(char var1) throws IOException;
  23.  
  24.    public abstract void print(int var1) throws IOException;
  25.  
  26.    public abstract void print(long var1) throws IOException;
  27.  
  28.    public abstract void print(float var1) throws IOException;
  29.  
  30.    public abstract void print(double var1) throws IOException;
  31.  
  32.    public abstract void print(char[] var1) throws IOException;
  33.  
  34.    public abstract void print(String var1) throws IOException;
  35.  
  36.    public abstract void print(Object var1) throws IOException;
  37.  
  38.    public abstract void println() throws IOException;
  39.  
  40.    public abstract void println(boolean var1) throws IOException;
  41.  
  42.    public abstract void println(char var1) throws IOException;
  43.  
  44.    public abstract void println(int var1) throws IOException;
  45.  
  46.    public abstract void println(long var1) throws IOException;
  47.  
  48.    public abstract void println(float var1) throws IOException;
  49.  
  50.    public abstract void println(double var1) throws IOException;
  51.  
  52.    public abstract void println(char[] var1) throws IOException;
  53.  
  54.    public abstract void println(String var1) throws IOException;
  55.  
  56.    public abstract void println(Object var1) throws IOException;
  57.  
  58.    public abstract void clear() throws IOException;
  59.  
  60.    public abstract void clearBuffer() throws IOException;
  61.  
  62.    public abstract void flush() throws IOException;
  63.  
  64.    public abstract void close() throws IOException;
  65.  
  66.    public int getBufferSize() {
  67.       return this.bufferSize;
  68.    }
  69.  
  70.    public abstract int getRemaining();
  71.  
  72.    public boolean isAutoFlush() {
  73.       return this.autoFlush;
  74.    }
  75. }
  76.