uka.psp
Class PSPServer.Connection.Output
java.lang.Object
java.io.OutputStream
uka.psp.PSPServer.Connection.Output
- Enclosing class:
- PSPServer.Connection
- public final class PSPServer.Connection.Output
- extends java.io.OutputStream
OutputStream view of a Connection. Because OutputStream is
a class instead of an interface, Connection can not extend
OutputStream and Inputstream, no multiple inheritance.
- See Also:
PSPServer.Connection.getOutputStream()
|
Method Summary |
void |
close()
|
void |
write(boolean[] buffer,
int offset,
int length)
|
void |
write(byte[] buffer)
|
void |
write(byte[] buffer,
int offset,
int length)
|
void |
write(char[] buffer,
int offset,
int length)
|
void |
write(double[] buffer,
int offset,
int length)
|
void |
write(float[] buffer,
int offset,
int length)
|
void |
write(int b)
Connection is not buffered, therefore is this method
can not be implemented efficiently. |
void |
write(int[] buffer,
int offset,
int length)
|
void |
write(long[] buffer,
int offset,
int length)
|
void |
write(short[] buffer,
int offset,
int length)
|
| Methods inherited from class java.io.OutputStream |
flush |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PSPServer.Connection.Output
public PSPServer.Connection.Output()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Connection is not buffered, therefore is this method
can not be implemented efficiently.
- Throws:
java.lang.UnsupportedOperationException
java.io.IOException
write
public void write(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(boolean[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(short[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(long[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(float[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(double[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException