| Constructor and Description |
|---|
InputStreamFile(InputStream stream) |
InputStreamFile(InputStream stream,
String name) |
InputStreamFile(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getFilename() |
long |
getFilePointer() |
boolean |
isLocal() |
long |
length() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int offs,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int offs,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
seek(long pos) |
void |
setLength(long newLength) |
int |
skipBytes(int n) |
void |
write(byte[] b,
int off,
int len) |
createFile, getExtension, readIntBack, readLongBack, readShortBackpublic InputStreamFile(URL url) throws IOException
IOExceptionpublic InputStreamFile(InputStream stream)
public InputStreamFile(InputStream stream, String name)
public void mark(int readlimit)
throws IOException
mark in class FileIOExceptionpublic void reset()
throws IOException
reset in class FileIOExceptionpublic int read()
throws IOException
read in class FileIOExceptionpublic void readFully(byte[] b)
throws IOException
readFully in interface DataInputreadFully in class FileIOExceptionpublic void readFully(byte[] b,
int offs,
int len)
throws IOException
readFully in interface DataInputreadFully in class FileIOExceptionpublic int read(byte[] b)
throws IOException
read in class FileIOExceptionpublic int read(byte[] b,
int offs,
int len)
throws IOException
read in class FileIOExceptionpublic void close()
throws IOException
close in class FileIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in class FileIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in class FileIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputreadChar in class FileIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in class FileIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in class FileIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputreadInt in class FileIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputreadLine in class FileIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong in class FileIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputreadShort in class FileIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in class FileIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in class FileIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in class FileIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes in interface DataInputskipBytes in class FileIOExceptionpublic long length()
throws IOException
length in class FileIOExceptionpublic void seek(long pos)
throws IOException
seek in class FileIOExceptionpublic long getFilePointer()
throws IOException
getFilePointer in class FileIOExceptionpublic void setLength(long newLength)
throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic String getFilename()
getFilename in class FileCopyright © 2014. All rights reserved.