| java.lang.Object com.sun.satsa.util.FileSystemAbstract com.sun.satsa.acl.AclFileSystem
AclFileSystem | public class AclFileSystem extends FileSystemAbstract (Code) | | This class provides interface to card file system.
|
Method Summary | |
public byte[] | readData(int offset, int length, int fileOffset) Reads part of selected file. | public byte[] | readFile() Reads the current EF. | public void | select(short id) Selects file by ID. |
AclFileSystem | public AclFileSystem(Connection apdu) throws IOException(Code) | | Constructs new AclFileSystem object.
Parameters: apdu - connection to be used by this object. |
readData | public byte[] readData(int offset, int length, int fileOffset) throws IOException(Code) | | Reads part of selected file.
Parameters: offset - the offset into data buffer where data should beplaced Parameters: length - read data length (is not used in this class) Parameters: fileOffset - file data offset throws: IOException - if IO error occurs data byte array of the data |
readFile | public byte[] readFile() throws IOException(Code) | | Reads the current EF.
array that contains EF body. throws: IOException - if IO error occurs |
select | public void select(short id) throws IOException(Code) | | Selects file by ID.
Parameters: id - file ID throws: IOException - if IOError occurs |
|
|