public class CardFileInputStream
extends java.io.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) |
public CardFileInputStream(int maxBlockSize,
FileSystemStructured fs)
throws CardServiceException
maxBlockSize - maximum block size to use for read binariesfs - the file systemCardServiceException - on errorpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
skip in class java.io.InputStreampublic int available()
available in class java.io.InputStreampublic void mark(int readLimit)
mark in class java.io.InputStreampublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic int getLength()
public int getPostion()
Copyright © 2023. All rights reserved.