public class Track1Data
extends java.lang.Object
Track1Data
class is used to decode the track 1 data into
fields specified by ISO/IEC 7813.Constructor and Description |
---|
Track1Data()
Creates an instance of
Track1Data . |
Track1Data(byte[] buffer)
Initializes the track 1 data from the byte array.
|
Track1Data(byte[] buffer,
int offset,
int byteCount)
Initializes the track 1 data from the byte array.
|
Track1Data(java.lang.String track1String)
Initializes the track 1 data from the string.
|
Modifier and Type | Method and Description |
---|---|
void |
fromByteArray(byte[] buffer)
Initializes the track 1 data from the byte array.
|
void |
fromByteArray(byte[] buffer,
int offset,
int byteCount)
Initializes the track 1 data from the byte array.
|
void |
fromString(java.lang.String track1String)
Initializes the track 1 data from the string.
|
java.lang.String |
getDiscretionaryData()
Gets the discretionary data.
|
java.lang.String |
getExpirationDate()
Gets the expiration date.
|
java.lang.String |
getJis2Data()
Gets the JIS2 data.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getPrimaryAccountNumber()
Gets the primary account number.
|
java.lang.String |
getServiceCode()
Gets the service code.
|
java.lang.String |
getTrack1String()
Gets the track 1 string.
|
public Track1Data()
Track1Data
.public Track1Data(byte[] buffer)
buffer
- the buffer.public Track1Data(byte[] buffer, int offset, int byteCount)
buffer
- the buffer.offset
- the offset.byteCount
- the number of bytes.public Track1Data(java.lang.String track1String)
track1String
- the track 1 string.public void fromByteArray(byte[] buffer)
buffer
- the buffer.public void fromByteArray(byte[] buffer, int offset, int byteCount)
buffer
- the buffer.offset
- the offset.byteCount
- the number of bytes.public void fromString(java.lang.String track1String)
track1String
- the track 1 string.public java.lang.String getJis2Data()
public java.lang.String getTrack1String()
public java.lang.String getPrimaryAccountNumber()
public java.lang.String getName()
public java.lang.String getExpirationDate()
public java.lang.String getServiceCode()
public java.lang.String getDiscretionaryData()
Copyright © 2013-2018, Advanced Card Systems Ltd. All rights reserved.