Java app to transform text file
$30-5000 USD
Teslim sırasında ödenir
I want a small Java app that translates a text file from my handy entry method into CSV. I'm rusty on Java libraries and thought it made a small project to test the outsourcing concept. I'll supply the psuedo-code and a test case. Input goes from one file with a list of accounts, short names for accounts, and default payees. A second file contains a sequence of lines where each line is a comment, a blank line, a date, a transaction, part of a split transaction, or a balance statement. Output is a CSV (comma delimited values) file with two lines per normal transaction. For example this: 11-04 Cash/Food:Out:Charles/BajaFresh/Lunch/6.22 # Simple format of from acct, to acct, Payee, comment & # vendor, amount 11-03 Cash/coffee//Tip/1 # account expands to "Food:Out:Coffee". Vendor moves to default for account. Cash/Balance/309 # adjustment entry. To: "T","101","2004-11-04","Cash","Food:Out:Charles","BajaFresh","Lunch",6.22 "T","102","2004-11-03","Cash","Food:Out:Coffee","","Tip",1 "B","103","2004-11-03","Cash",309 My pseduocode for details looks more like this: expand ReadOnce AKA as dictionary(abbreviation, account name) if matches an AKA, take key ReadOnce Accounts as dictionary(element name, array of (full name until element)) accountPrefix = null foreach words possibles = match word in dictionary foreach possibles if accountPrefix not start of possibles, delete if more than one possible error ambiguious account prefix = single remaining possible account = prefix ...
## Deliverables
1) Complete and fully-functional working program(s) in complete source code of all work done.
2) The CSV of the sample so I can verify it worked. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Pure Java, J2SE.
Proje NO: #3422815