com.sapportals.portal.prt.servlets_jsp.server.page

Class JspWriterImpl

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by com.sapportals.portal.prt.servlets_jsp.server.page.JspWriterImpl
All Implemented Interfaces:
Closeable, Flushable, Appendable

Deprecated.

public class JspWriterImpl
extends JspWriter

This class emulates some of the functionality found in the java.io.BufferedWriter and java.io.PrintWriter classes, however it differs in that it throws java.io.IOException from the print methods with PrintWriter does not.


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
JspWriterImpl(JSPResponse response)
          Deprecated. Construnct new JspWriterImpl
JspWriterImpl(JSPResponse response, int i, boolean flag)
          Deprecated. Construnct new JspWriterImpl
 
Method Summary
 void clear()
          Deprecated. Clear buffer of the writer
 void clearBuffer()
          Deprecated. Clear buffer of the writer
 void close()
          Deprecated. Flush buffer and close writer
 void flush()
          Deprecated. Flush buffer to output sream
protected  void flushBuffer()
          Deprecated. Flush buffer to output sream
 int getBufferSize()
          Deprecated. Return buffer size
 int getRemaining()
          Deprecated. Return free buffer space
 void init(JSPResponse response, int i, boolean flag)
          Deprecated. Init writer
 boolean isAutoFlush()
          Deprecated. Check if autoflush
 void newLine()
          Deprecated. Write a new line
 void print(boolean flag)
          Deprecated. Print boolean
 void print(char c)
          Deprecated. Print char
 void print(char[] ac)
          Deprecated. Print char []
 void print(double d)
          Deprecated. Print double
 void print(float f)
          Deprecated. Print float
 void print(int i)
          Deprecated. Print int
 void print(long l)
          Deprecated. Print long
 void print(Object obj)
          Deprecated. Print Object
 void print(String s)
          Deprecated. Print String
 void println()
          Deprecated. Print new line
 void println(boolean flag)
          Deprecated. Print boolean and new line
 void println(char c)
          Deprecated. Print char and new line
 void println(char[] ac)
          Deprecated. Print char [] and new line
 void println(double d)
          Deprecated. Print double and new line
 void println(float f)
          Deprecated. Print float and new line
 void println(int i)
          Deprecated. Print int and new line
 void println(long l)
          Deprecated. Print long and new line
 void println(Object obj)
          Deprecated. Print Object and new line
 void println(String s)
          Deprecated. Print String and new line
 void write(char[] ac)
          Deprecated. Write array of char
 void write(char[] ac, int i, int j)
          Deprecated. Write array of char
 void write(int i)
          Deprecated. Write int
 void write(String s)
          Deprecated. Write String
 void write(String s, int i, int j)
          Deprecated. Write part of String
 
Methods inherited from class java.io.Writer
append, append, append
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspWriterImpl

public JspWriterImpl(JSPResponse response)
Deprecated. 
Construnct new JspWriterImpl

Parameters:
response - servlet response

JspWriterImpl

public JspWriterImpl(JSPResponse response,
                     int i,
                     boolean flag)
Deprecated. 
Construnct new JspWriterImpl

Parameters:
response - response
i - buffer of writer
flag - outoflush
Method Detail

init

public final void init(JSPResponse response,
                       int i,
                       boolean flag)
                throws IOException
Deprecated. 
Init writer

Throws:
IOException - throws it

flushBuffer

protected final void flushBuffer()
                          throws IOException
Deprecated. 
Flush buffer to output sream

Throws:
IOException

clear

public final void clear()
                 throws IOException
Deprecated. 
Clear buffer of the writer

Specified by:
clear in class JspWriter
Throws:
IOException - throws it

flush

public void flush()
           throws IOException
Deprecated. 
Flush buffer to output sream

Specified by:
flush in interface Flushable
Specified by:
flush in class JspWriter
Throws:
IOException - throws it

close

public void close()
           throws IOException
Deprecated. 
Flush buffer and close writer

Specified by:
close in interface Closeable
Specified by:
close in class JspWriter
Throws:
IOException - throws it

getBufferSize

public int getBufferSize()
Deprecated. 
Return buffer size

Overrides:
getBufferSize in class JspWriter
Returns:
buffer size

getRemaining

public int getRemaining()
Deprecated. 
Return free buffer space

Specified by:
getRemaining in class JspWriter
Returns:
remining buffer space

isAutoFlush

public boolean isAutoFlush()
Deprecated. 
Check if autoflush

Overrides:
isAutoFlush in class JspWriter
Returns:
true if autoflaush

write

public void write(int i)
           throws IOException
Deprecated. 
Write int

Overrides:
write in class Writer
Parameters:
i - int to be writen
Throws:
IOException

write

public void write(char[] ac,
                  int i,
                  int j)
           throws IOException
Deprecated. 
Write array of char

Specified by:
write in class Writer
Parameters:
ac - array of char
i - start index of array
j - end index of array
Throws:
IOException - throws it

write

public void write(char[] ac)
           throws IOException
Deprecated. 
Write array of char

Overrides:
write in class Writer
Parameters:
ac - array of char
Throws:
IOException - throws it

write

public void write(String s,
                  int i,
                  int j)
           throws IOException
Deprecated. 
Write part of String

Overrides:
write in class Writer
Parameters:
s - String to be writen
i - start index of String
j - end index of String
Throws:
IOException - throws it

write

public void write(String s)
           throws IOException
Deprecated. 
Write String

Overrides:
write in class Writer
Parameters:
s - String to be writen
Throws:
IOException - throws it

newLine

public void newLine()
             throws IOException
Deprecated. 
Write a new line

Specified by:
newLine in class JspWriter
Throws:
IOException - throws it

print

public void print(boolean flag)
           throws IOException
Deprecated. 
Print boolean

Specified by:
print in class JspWriter
Parameters:
flag - boolean value
Throws:
IOException - throws it

print

public void print(char c)
           throws IOException
Deprecated. 
Print char

Specified by:
print in class JspWriter
Parameters:
c - char value
Throws:
IOException - throws it

print

public void print(int i)
           throws IOException
Deprecated. 
Print int

Specified by:
print in class JspWriter
Parameters:
i - int value
Throws:
IOException - throws it

print

public void print(long l)
           throws IOException
Deprecated. 
Print long

Specified by:
print in class JspWriter
Parameters:
l - long value
Throws:
IOException - throws it

print

public void print(float f)
           throws IOException
Deprecated. 
Print float

Specified by:
print in class JspWriter
Parameters:
f - float value
Throws:
IOException - throws it

print

public void print(double d)
           throws IOException
Deprecated. 
Print double

Specified by:
print in class JspWriter
Parameters:
d - double value
Throws:
IOException - throws it

print

public void print(char[] ac)
           throws IOException
Deprecated. 
Print char []

Specified by:
print in class JspWriter
Parameters:
ac - char [] value
Throws:
IOException - throws it

print

public void print(String s)
           throws IOException
Deprecated. 
Print String

Specified by:
print in class JspWriter
Parameters:
s - String value
Throws:
IOException - throws it

print

public void print(Object obj)
           throws IOException
Deprecated. 
Print Object

Specified by:
print in class JspWriter
Parameters:
obj - Objrct value
Throws:
IOException - throws it

println

public void println()
             throws IOException
Deprecated. 
Print new line

Specified by:
println in class JspWriter
Throws:
IOException - throws it

println

public void println(boolean flag)
             throws IOException
Deprecated. 
Print boolean and new line

Specified by:
println in class JspWriter
Parameters:
flag - boolean value
Throws:
IOException - throws it

println

public void println(char c)
             throws IOException
Deprecated. 
Print char and new line

Specified by:
println in class JspWriter
Parameters:
c - char value
Throws:
IOException - throws it

println

public void println(int i)
             throws IOException
Deprecated. 
Print int and new line

Specified by:
println in class JspWriter
Parameters:
i - int value
Throws:
IOException - throws it

println

public void println(long l)
             throws IOException
Deprecated. 
Print long and new line

Specified by:
println in class JspWriter
Parameters:
l - long value
Throws:
IOException - throws it

println

public void println(float f)
             throws IOException
Deprecated. 
Print float and new line

Specified by:
println in class JspWriter
Parameters:
f - float value
Throws:
IOException - throws it

println

public void println(double d)
             throws IOException
Deprecated. 
Print double and new line

Specified by:
println in class JspWriter
Parameters:
d - double value
Throws:
IOException - throws it

println

public void println(char[] ac)
             throws IOException
Deprecated. 
Print char [] and new line

Specified by:
println in class JspWriter
Parameters:
ac - char [] value
Throws:
IOException - throws it

println

public void println(String s)
             throws IOException
Deprecated. 
Print String and new line

Specified by:
println in class JspWriter
Parameters:
s - String value
Throws:
IOException - throws it

println

public void println(Object obj)
             throws IOException
Deprecated. 
Print Object and new line

Specified by:
println in class JspWriter
Parameters:
obj - Object value
Throws:
IOException - throws it

clearBuffer

public void clearBuffer()
                 throws IOException
Deprecated. 
Clear buffer of the writer

Specified by:
clearBuffer in class JspWriter
Throws:
IOException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice