public class FastFileInputStream extends InputStream
Fast file input stream
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
FastFileInputStream(File f) |
FastFileInputStream(RandomAccessFile raf,
long length) |
FastFileInputStream(String filename) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int off,
int len) |
long |
remaining() |
void |
reset() |
long |
skip(long n) |
public FastFileInputStream(String filename)
public FastFileInputStream(File f)
public FastFileInputStream(RandomAccessFile raf, long length)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buffer)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buffer,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readLimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic long remaining()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2018 JULIE Lab, Germany. All rights reserved.