Package org.teavm.classlib.java.io
Class TInputStream
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.io.TInputStream
- All Implemented Interfaces:
TCloseable
,TAutoCloseable
- Direct Known Subclasses:
TByteArrayInputStream
,TFilterInputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
close()
void
mark
(int readlimit) boolean
static TInputStream
abstract int
read()
int
read
(byte[] b) int
read
(byte[] b, int off, int len) byte[]
int
readNBytes
(byte[] b, int off, int len) byte[]
readNBytes
(int len) void
reset()
long
skip
(long n) void
skipNBytes
(long n) long
transferTo
(OutputStream out)
-
Constructor Details
-
TInputStream
public TInputStream()
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
skip
- Throws:
IOException
-
available
- Throws:
IOException
-
close
- Specified by:
close
in interfaceTAutoCloseable
- Specified by:
close
in interfaceTCloseable
- Throws:
IOException
-
mark
public void mark(int readlimit) -
reset
- Throws:
IOException
-
markSupported
public boolean markSupported() -
readAllBytes
- Throws:
IOException
-
readNBytes
- Throws:
IOException
-
readNBytes
- Throws:
IOException
-
skipNBytes
- Throws:
IOException
-
transferTo
- Throws:
IOException
-
nullInputStream
-