Class USInputStream
java.lang.Object
java.io.InputStream
cx.ath.matthew.unix.USInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisClosed()booleanintread()intread(byte[] b, int off, int len) voidsetBlocking(boolean enable) voidsetSoTimeout(int timeout) Methods inherited from class InputStream
available, mark, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
MSG_DONTWAIT
public static final int MSG_DONTWAIT- See Also:
-
-
Constructor Details
-
USInputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
isClosed
public boolean isClosed() -
getSocket
-
setBlocking
public void setBlocking(boolean enable) -
setSoTimeout
public void setSoTimeout(int timeout)
-