public class File
extends java.lang.Object
ECard file identifier class. Generally ECards contain
data in files called Data Groups. Different type of documents
(e.g. ePassport and ISO-DL) stores the same data in different data group. Our
SDK contains logical file identifiers to identify data
groups by their content next to the numerical file identifiers
DG(int). Both of them are usable in certain situations. They can be
converted to each other by the ECard.convertFileId(Pr22.ECardHandling.File) method.| Modifier and Type | Field and Description |
|---|---|
int |
id
Id of the file.
|
| Constructor and Description |
|---|
File(FileId fileId)
New file identifier.
|
File(int FileIndex)
New file identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
block(int block)
New file identifier of a storage card.
|
static File |
block(int block,
int memsize)
New file identifier of a storage card.
|
static File |
DG(int dgid)
New file identifier.
|
static File |
memAddress(int addr)
New file identifier of a storage card.
|
static File |
memAddress(int addr,
int memsize)
New file identifier of a storage card.
|
static File |
sector(int sector)
New file identifier of a storage card.
|
static File |
sector(int sector,
int memsize)
New file identifier of a storage card.
|
java.lang.String |
toString()
Returns string representation of the file Id.
|
public File(int FileIndex)
FileIndex - Id of the file.public File(FileId fileId)
fileId - Id of the file.public static File DG(int dgid)
dgid - Data group number.public static File block(int block, int memsize)
block - Block number.memsize - Number of bytes to read.public static File block(int block)
block - Block number.public static File memAddress(int addr, int memsize)
addr - Memory address to read from.memsize - Number of bytes to read.public static File memAddress(int addr)
addr - Memory address to read from.public static File sector(int sector, int memsize)
sector - Sector number.memsize - Number of bytes to read.public static File sector(int sector)
sector - Sector number.public java.lang.String toString()
toString in class java.lang.ObjectARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58