public class CardFileInputStream extends InputStream
| Constructor and Description |
|---|
CardFileInputStream(int maxBlockSize,
FileSystemStructured fs)
An input stream for reading from the currently selected file in the indicated file system.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
getLength()
Gets the length of the underlying card file.
|
int |
getPostion() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
void |
reset() |
long |
skip(long n) |
close, read, readpublic CardFileInputStream(int maxBlockSize,
FileSystemStructured fs)
throws CardServiceException
maxBlockSize - maximum block size to use for read binariesfs - the file systemCardServiceException - on errorpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic void mark(int readLimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic int getLength()
public int getPostion()
Copyright © 2020. All rights reserved.