Part A: POSNET Bar Codes
Goal: Print Address with POSNET bar code. (POSNET means Postal Numeric Encoding Technique.)
Here is an example of such an address:
We will use the vertical line ( | ) to represent the long bar and semicolon ( : ) to represent the short bar
Input File: [login to view URL] (Naming this input file a .csv extension is also okay, but then it opens up in Excel if you double click on its name in the Windows Explorer.
Details:
Read an input CSV file containing addresses using a Scanner object. Don't redirect from stdin, read directly from the file. Here are two sample lines from a mailing list:
Anna Lee,123 Nice Street,Memphis,TN,38141-8346
Stan Smith,456 De La Vina Street,Santa Barbara,CA,93101-3298
Obtain the input file using a JFileChooser dialog.
For each line write out an address like this:
Anna Lee
123 Nice Street
Memphis TN 38141-8346
|::||:|::|::::||:|::|:::|||::|::::||:|::|:||::::|:||
Stan Smith
456 De La Vina Street
Santa Barbara CA 93101-3298
||:|::::||::::||||::::::||::||:::|:||:|::|::|::|::||
The bar code is encoded using this table:
1 2 3 4 5 6 7 8 9 0
:::|| ::|:| ::||: :|::| :|:|: :||:: |:::| |::|: |:|:: ||:::
In addition to encoding the 9 digits of the zip code, the bar code includes initial (i) and terminal (t) frame bars and a check sum (cs), which is 10 - the sum of the zip code digits mod 10*. Thus the zip code 38141-8346 is encoded like this:
i 3 8 1 4 1 8 3 4 6 cs t
| ::||: |::|: :::|| :|::| :::|| |::|: ::||: :|::| :||:: ::|:| |
The sum of the digits is 38 and 38 % 10 is 8, so the check sum is 10 - 8 = 2. The initial and terminal frame bars are always |.
Note: If the sum of the digit % 10 is 0, the check sum is 10 - 0 = 10, which should be replaced by 0. This can be done with an if statement, or with
checksum %= 10
Write and use this method:
public static String getBarCode(String zipcode)
Part B: JFreeChart Graphs
These examples are relevent for Part B of Project 3:
WriteGreetings (input-output) ReadFromWeb (input-output) BarGraph (jfreechart)
Choose five international source currencies to monitor. Each currency is referenced with a three letter ISO 4217 currency code. For example, the code for the U.S. Dollar currrency is USD. Search online for these abbreviations with a search string such as "ISO 4217 Currency Codes." Place these source currencies in a text file.
The following URL is a link to a CSV file that contains the exchange rate for a given source and target currency. For example, if the source currency is EUR and the target currency is USD, the URL is
[login to view URL]
Read the five source currencies in the text file that you created in Step 1, dynamically create URLs that are passed to Java Scanner objects to obtain the exchange rates (to USD) for five source currencies from Part 1.
Plot the five exchange rates that you found in Step 2 in a JFreeChart bar chart. See the BarChart Example in the jfreechart example file.
Your Java project should contain only a single class, which contains the main method. This class must define at least three additional static methods that modularize the tasks in this project. For example, you might define methods such as these:
public static String getCurrency(Scanner s)
public static String getURL(String sourceCurrency, String targetCurrency)
public static double getExchangeRate(String url)
Hello
I am Java expert and interested in this project. I have reviewed your requirements understood them.
I have previous experience in working in JFreeChart API, I propose project completion in 15 days at price of $600 + freelancer free.
Please communicate to discuss further.
Regards
Anshu
Hi,
I have worked on many Java application. I can code and decode the address.
I am sure to meet the requirements.
Look forward for your reply,
regards,
Nittile
Hello,
We have done such kind of this work for one of our client for KOSKA application ticket printing and create bar on the basis of there physical information. So we can create easily without any problem in your time frame.
Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself -
Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !!
Looking forward to hear from you soon - GOD Bless You.
I am a private freelancer thats why I have no reviews because I usually got my clients from other freelancers company such as craigslist, easyoutsource, onlinejobs, warrior forum.. Somebody told me to try my luck here at freelancers since ive been working online since 2005..
I would like to apply for the said job. I have been working as a freelancer for over 9 years and counting. Web design. mobile developer, Virtual Asssistant, SEO and programmer are my forte.
Here are the things I can guarantee when you are going to hire me.
- ensure I understand requirements
- estimate accurately
- communicate well and regularly
- produce quality code
- do so quickly and efficiently
- finish on time
The following are my fields of specializations:
- Website Design
- Mobile Website Design
- Mobile App Design (iphone, ipad, Android..)
- software developer
- UI /UX
- Logo Design
- Graphic Design
- Banner Ads (static and animated)
- Corporate Identity, Branding
- Illustrations
-Landing Pages
-Squeeze Pages
-Sales Page
-VSL
-VA
-SEO
-internet marketer
Hello,
I have very Good experienced team with Java, Android & PHP.
we can do any task with these technology.
For further discuss on it you may chat, I am available right Now,
I hope we will discuss soon on it.
Thanks
PADY
Dear Sir,
I have read your job post carefully and I'm interesting in your job.
I have much experience in java programming.
I can do this job.
If you take me be hired, I will repay you with good work.
Many thanks.
Best regards
We are experienced in software development, Linux, Java, Python, advanced numerical computations, data analysis, crawler development etc. Our skkype is: solverio. Our website is: solv e r . i o