Skip to content

Commit 993abfc

Browse files
committed
Making Java 6 less obvious
1 parent 5fcc8c1 commit 993abfc

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Magnetic Track Parser
22

3-
*Magnetic Track Parser* is a Java 6 library that can parse magnetic track data from a bank issued credit card, such as might be returned from a USB magnetic card stripe reader. All classes are immutable and thread-safe. The standard `toString()` function formats data in a readable form. Validity is enforced by JUnit tests. Maven is needed for a build.
3+
*Magnetic Track Parser* is a Java library that can parse magnetic track data from a bank issued credit card, such as might be returned from a USB magnetic card stripe reader. All classes are immutable and thread-safe. The standard `toString()` function formats data in a readable form. Validity is enforced by JUnit tests. Java 6 or newer is required. Maven is needed for a build.
44

55
See the article on [Magnetic stripe card](http://en.wikipedia.org/wiki/Magnetic_stripe_card) on Wikipedia for information about the format of track data.
66

7+
Magnetic Track Parser depends on the [Credit Card Number](https://github.com/sualeh/credit_card_number) library.
8+
79
## Download
810

911
You can download the [jar on the Maven Central Repository](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22magnetictrackparser%22).
@@ -73,5 +75,22 @@ Track 2: ;5350290149345177=16042010000056700100?
7375
0 - Authorization Processing: Normal.
7476
1 - Allowed Services: No restrictions. PIN Requirements: None.
7577
Discretionary Data: 0000056700100
76-
No Track 3 Data
78+
Track 3: Not Available.
79+
80+
Bank Card Information:
81+
Primary Account Number: 5350290149345177
82+
Primary Account Number (Secure): MasterCard-5177
83+
Major Industry Identifier: 5 - Banking and financial
84+
Issuer Identification Number: 535029
85+
Card Brand: MasterCard
86+
Last Four Digits: 5177
87+
Passes Luhn Check? Yes
88+
Is Primary Account Number Valid? Yes
89+
Expiration Date: April 2016
90+
Is Expired: No
91+
Name: Sualeh Fatehi
92+
Service Code:
93+
2 - Interchange: International interchange. Technology: Integrated circuit card.
94+
0 - Authorization Processing: Normal.
95+
1 - Allowed Services: No restrictions. PIN Requirements: None.
7796
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<version>1.3</version>
77
<packaging>jar</packaging>
88
<name>Magnetic Track Parser</name>
9-
<description>Magnetic Track Parser is a Java 6 library that can parse magnetic tracks from a bank issued card. All classes are immutable and thread-safe. The standard `toString()` function formats data in a readable form. Validity is enforced by JUnit tests. Maven is needed for a build.</description>
9+
<description>Magnetic Track Parser is a library that can parse magnetic tracks from a bank issued card. All classes are immutable and thread-safe. The standard `toString()` function formats data in a readable form.</description>
1010
<url>https://github.com/sualeh/magnetictrackparser</url>
1111
<scm>
1212
<connection>scm:git:git@github.com:sualeh/magnetictrackparser.git</connection>

0 commit comments

Comments
 (0)