| java.lang.Object com.sun.satsa.util.FileSystemAbstract com.sun.satsa.pki.WimFileSystem
WimFileSystem | public class WimFileSystem extends FileSystemAbstract (Code) | | This class provides interface to WIM file system.
|
Method Summary | |
public byte[] | readData(int offset, int length, int fileOffset) Reads part of selected file. | public void | select(short id) Selects file by ID. | public void | writeData(byte[] data, int offset, int length, int fileOffset) Writes data into selected file. |
WimFileSystem | public WimFileSystem(Connection apdu)(Code) | | Constructs new WimFileSystem 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 - data length Parameters: fileOffset - file data offset throws: IOException - if IO error occurs data byte array of the data |
select | public void select(short id) throws IOException(Code) | | Selects file by ID.
Parameters: id - file ID throws: IOException - if IOError occurs |
writeData | public void writeData(byte[] data, int offset, int length, int fileOffset) throws IOException(Code) | | Writes data into selected file.
Parameters: data - buffer that contains data Parameters: offset - offset of data in the buffer Parameters: length - length of data in the buffer Parameters: fileOffset - offset of updated data in the file throws: IOException - if I/O error occurs |
|
|