public abstract class ServletOutputStream
extends java.io.OutputStream
OutputStream.write(int)
.Modifier | Constructor and Description |
---|---|
protected |
ServletOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
print(boolean value)
Writes a boolean.
|
void |
print(char value)
Writes a single char.
|
void |
print(double value)
Writes a double.
|
void |
print(float value)
Writes a float.
|
void |
print(int value)
Writes an int.
|
void |
print(long value)
Writes a long.
|
void |
print(java.lang.String value)
Writes a string in the ISO-8859-1 encoding.
|
void |
println()
Writes a CRLF.
|
void |
println(boolean value)
Writes a boolean followed by a CRLF.
|
void |
println(char value)
Writes a single char followed by a CRLF.
|
void |
println(double value)
Writes a double followed by a CRLF.
|
void |
println(float value)
Writes a float followed by a CRLF.
|
void |
println(int value)
Writes an int followed by a CRLF.
|
void |
println(long value)
Writes a long followed by a CRLF.
|
void |
println(java.lang.String value)
Writes a String followed by a CRLF.
|
public void print(java.lang.String value) throws java.io.IOException
value
- the String to be printedjava.io.IOException
- if an I/O exception occurs or the string is
not ISO-8859-1public void print(boolean value) throws java.io.IOException
value
- the boolean to be printedjava.io.IOException
- if an I/O exception occurspublic void print(char value) throws java.io.IOException
value
- the char to be printedjava.io.IOException
- if an I/O exception occurspublic void print(int value) throws java.io.IOException
value
- the int to be printedjava.io.IOException
- if an I/O exception occurspublic void print(long value) throws java.io.IOException
value
- the long to be printedjava.io.IOException
- if an I/O exception occurspublic void print(float value) throws java.io.IOException
value
- the float to be printedjava.io.IOException
- if an I/O exception occurspublic void print(double value) throws java.io.IOException
value
- the double to be printedjava.io.IOException
- if an I/O exception occurspublic void println() throws java.io.IOException
java.io.IOException
- if an I/O exception occurspublic void println(java.lang.String value) throws java.io.IOException
value
- the String to be printedjava.io.IOException
- if an I/O exception occurspublic void println(boolean value) throws java.io.IOException
value
- the boolean to be printedjava.io.IOException
- if an I/O exception occurspublic void println(char value) throws java.io.IOException
value
- the char to be printedjava.io.IOException
- if an I/O exception occurspublic void println(int value) throws java.io.IOException
value
- the int to be printedjava.io.IOException
- if an I/O exception occurspublic void println(long value) throws java.io.IOException
value
- the long to be printedjava.io.IOException
- if an I/O exception occurspublic void println(float value) throws java.io.IOException
value
- the float to be printedjava.io.IOException
- if an I/O exception occurspublic void println(double value) throws java.io.IOException
value
- the double to be printedjava.io.IOException
- if an I/O exception occurs