public static class ByteArrayIOFileStream.ByteArrayIOFileInputStream extends ByteArrayIOStream.ByteArrayIOInputStream
buf, count| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
closeAll()
close the underlying file
|
byte[] |
getBuf() |
long |
getCount() |
ByteArrayIOStream.ByteArrayIOInputStream |
getNewStream()
get a new input stream that starts at current pos
|
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
seek(long pos) |
long |
skip(long n) |
long |
tell() |
String |
toString() |
readpublic ByteArrayIOStream.ByteArrayIOInputStream getNewStream()
getNewStream in class ByteArrayIOStream.ByteArrayIOInputStreampublic String toString()
toString in class ByteArrayIOStream.ByteArrayIOInputStreamObject.toString()public long getCount()
getCount in class ByteArrayIOStream.ByteArrayIOInputStreampublic void seek(long pos)
seek in class ByteArrayIOStream.ByteArrayIOInputStreampublic long tell()
tell in class ByteArrayIOStream.ByteArrayIOInputStreamByteArrayIOStream.ByteArrayIOInputStream.tell()public byte[] getBuf()
getBuf in class ByteArrayIOStream.ByteArrayIOInputStreampublic int read()
read in class ByteArrayInputStreampublic int read(byte[] b,
int off,
int len)
read in class ByteArrayInputStreampublic long skip(long n)
skip in class ByteArrayInputStreampublic int available()
available in class ByteArrayInputStreampublic boolean markSupported()
markSupported in class ByteArrayInputStreampublic void mark(int readAheadLimit)
mark in class ByteArrayInputStreampublic void reset()
reset in class ByteArrayInputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ByteArrayInputStreamIOExceptionpublic void closeAll()
Copyright © 2015. All rights reserved.