org.dbforms.util
Class JspWriterBuffer

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by org.dbforms.util.JspWriterBuffer
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class JspWriterBuffer
extends javax.servlet.jsp.JspWriter

DOCUMENT ME!

Version:
$Revision: 1.4 $
Author:
$author$

Field Summary
 
Fields inherited from class javax.servlet.jsp.JspWriter
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
protected JspWriterBuffer(int bufferSize, boolean autoFlush, ServletResponse response)
          Creates a new JspWriterDummy object.
 
Method Summary
 void clear()
          DOCUMENT ME!
 void clearBuffer()
          DOCUMENT ME!
 void close()
          DOCUMENT ME!
 void flush()
          DOCUMENT ME!
 StringBuffer getBuffer()
          DOCUMENT ME!
 int getRemaining()
          DOCUMENT ME!
 String getResult()
          DOCUMENT ME!
 void newLine()
          DOCUMENT ME!
 void print(boolean b)
          DOCUMENT ME!
 void print(char c)
          DOCUMENT ME!
 void print(char[] s)
          DOCUMENT ME!
 void print(double d)
          DOCUMENT ME!
 void print(float f)
          DOCUMENT ME!
 void print(int i)
          DOCUMENT ME!
 void print(long l)
          DOCUMENT ME!
 void print(Object obj)
          DOCUMENT ME!
 void print(String s)
          DOCUMENT ME!
 void println()
          DOCUMENT ME!
 void println(boolean x)
          DOCUMENT ME!
 void println(char x)
          DOCUMENT ME!
 void println(char[] x)
          DOCUMENT ME!
 void println(double x)
          DOCUMENT ME!
 void println(float x)
          DOCUMENT ME!
 void println(int x)
          DOCUMENT ME!
 void println(long x)
          DOCUMENT ME!
 void println(Object x)
          DOCUMENT ME!
 void println(String x)
          DOCUMENT ME!
 void write(char[] cbuf, int off, int len)
          DOCUMENT ME!
 void write(int c)
          DOCUMENT ME!
 void write(String str, int off, int len)
          DOCUMENT ME!
 
Methods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspWriterBuffer

protected JspWriterBuffer(int bufferSize,
                          boolean autoFlush,
                          ServletResponse response)
Creates a new JspWriterDummy object.

Parameters:
bufferSize - DOCUMENT ME!
autoFlush - DOCUMENT ME!
response - DOCUMENT ME!
Method Detail

getBuffer

public StringBuffer getBuffer()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getRemaining

public int getRemaining()
DOCUMENT ME!

Specified by:
getRemaining in class javax.servlet.jsp.JspWriter
Returns:
DOCUMENT ME!

getResult

public String getResult()
DOCUMENT ME!

Returns:
DOCUMENT ME!

clear

public void clear()
           throws IOException
DOCUMENT ME!

Specified by:
clear in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

clearBuffer

public void clearBuffer()
                 throws IOException
DOCUMENT ME!

Specified by:
clearBuffer in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

close

public void close()
           throws IOException
DOCUMENT ME!

Specified by:
close in interface Closeable
Specified by:
close in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

flush

public void flush()
           throws IOException
DOCUMENT ME!

Specified by:
flush in interface Flushable
Specified by:
flush in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

newLine

public void newLine()
             throws IOException
DOCUMENT ME!

Specified by:
newLine in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

print

public void print(boolean b)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
b - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(char c)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
c - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(char[] s)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
s - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(int i)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
i - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(long l)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
l - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(float f)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
f - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(double d)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
d - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(String s)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
s - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

print

public void print(Object obj)
           throws IOException
DOCUMENT ME!

Specified by:
print in class javax.servlet.jsp.JspWriter
Parameters:
obj - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println()
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException - DOCUMENT ME!

println

public void println(boolean x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(char x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(int x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(long x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(float x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(double x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(char[] x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(String x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

println

public void println(Object x)
             throws IOException
DOCUMENT ME!

Specified by:
println in class javax.servlet.jsp.JspWriter
Parameters:
x - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

write

public void write(int c)
           throws IOException
DOCUMENT ME!

Overrides:
write in class Writer
Parameters:
c - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
DOCUMENT ME!

Specified by:
write in class Writer
Parameters:
cbuf - DOCUMENT ME!
off - DOCUMENT ME!
len - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
DOCUMENT ME!

Overrides:
write in class Writer
Parameters:
str - DOCUMENT ME!
off - DOCUMENT ME!
len - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!


Copyright © 2002-2006 DbForms. All Rights Reserved.