public class SocketInputStream extends LineInputStream
baCR, baCRLF, baEmpty, baEmptyDone, baLF| Constructor and Description |
|---|
SocketInputStream(java.io.InputStream stream) |
SocketInputStream(java.net.Socket socket,
java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this input stream and releases any system resources associated
with the stream.
|
void |
finalize() |
_read, available, mark, markSupported, read, read, read, readLineBytes, readLineTerminatorBytes, reset, skippublic SocketInputStream(java.net.Socket socket,
java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic SocketInputStream(java.io.InputStream stream)
public void close()
throws java.io.IOException
LineInputStream The close method of InputStream does
nothing.
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class LineInputStreamjava.io.IOException - if an I/O error occurs.public void finalize()
throws java.io.IOException
finalize in class java.lang.Objectjava.io.IOException