Skip to content

This is a simple application that demonstrates the use of Lambda expressions

Notifications You must be signed in to change notification settings

rkcullen/business-card-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

business-card-reader

Use the instructions in GitHub to clone this repository to your desktop using git or subversion

Build Requirements

To sucsessfully compile and run this exercise the following is required to run in a command shell:

  • JDK (Java Development Kit) 1.8 or higher
  • Maven

Build the Application

After cloning the repository, use maven to build the exercise by running the following command in a command shell:

mvn clean verify

Run the Application

This application parses out the name, phone number and email address from a sample business card text.
The exercise requires a single String argument with line breaks surrounded by open/closed quotes, for example:

"Foobar Technologies
Analytic Developer
Lisa Haung
1234 Sentry Road
Columbia, MD 12345
Phone: (410) 555-1234
Fax: 410-555-4321
lisa.haung@foobartech.com"

To run the exercise, pass the String argument to the command line as follows:

java -cp target/business-card-parser-1.0.jar org.fivelands.parser.Main "Foobar Technologies
>Analytic Developer
>Lisa Haung
>1234 Sentry Road
>Columbia, MD 12345
>Phone: (410) 555-1234
>Fax: 410-555-4321
>lisa.haung@foobartech.com"

About

This is a simple application that demonstrates the use of Lambda expressions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages