|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmrtd.lds.PassportFile
org.jmrtd.lds.DataGroup
org.jmrtd.lds.DG1File
public class DG1File
File structure for the EF_DG1 file. Datagroup 1 contains the Machine Readable Zone information.
| Field Summary |
|---|
| Fields inherited from class org.jmrtd.lds.PassportFile |
|---|
EF_COM_TAG, EF_DG1_TAG, EF_DG10_TAG, EF_DG11_TAG, EF_DG12_TAG, EF_DG13_TAG, EF_DG14_TAG, EF_DG15_TAG, EF_DG16_TAG, EF_DG2_TAG, EF_DG3_TAG, EF_DG4_TAG, EF_DG5_TAG, EF_DG6_TAG, EF_DG7_TAG, EF_DG8_TAG, EF_DG9_TAG, EF_SOD_TAG |
| Constructor Summary | |
|---|---|
DG1File(InputStream in)
Creates a new file based on an input stream. |
|
DG1File(MRZInfo mrzInfo)
Creates a new file based on MRZ information. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
byte[] |
getEncoded()
Gets the contents of this file as byte array, includes the ICAO tag and length. |
MRZInfo |
getMRZInfo()
Gets the MRZ information stored in this file. |
int |
getTag()
The data group tag. |
int |
hashCode()
|
String |
toString()
Gets a textual representation of this file. |
| Methods inherited from class org.jmrtd.lds.DataGroup |
|---|
getLength |
| Methods inherited from class org.jmrtd.lds.PassportFile |
|---|
createPassportFile, lookupDataGroupNumberByTag, lookupFIDByDataGroupNumber, lookupFIDByTag, lookupTagByDataGroupNumber, lookupTagByFID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DG1File(MRZInfo mrzInfo)
mrzInfo - the MRZ information to store in this filepublic DG1File(InputStream in)
in - an input stream
IOException - if something goes wrong| Method Detail |
|---|
public int getTag()
getTag in class DataGrouppublic MRZInfo getMRZInfo()
public String toString()
toString in class DataGrouppublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic byte[] getEncoded()
getEncoded in class DataGroup
|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||