jgnash.ui.report.compiled
Class MonthBalanceCSV
java.lang.Object
jgnash.ui.report.compiled.MonthBalanceCSV
public class MonthBalanceCSV
- extends java.lang.Object
Export monthly balance information as a CSV (comma-separated variable) file
- Version:
- $Id$
- Author:
- Craig Cavanaugh, Tom Edelson
|
Method Summary |
private void |
buildLists(Account a,
java.util.Date[] dates)
|
private java.util.Date[] |
getDates()
|
(package private) java.lang.String |
getFileName()
|
private static java.util.Date[] |
getLastDays(java.util.Date start,
java.util.Date stop)
|
static void |
run()
|
private void |
writeCSVFileHoriz(java.lang.String fileName,
java.util.Date[] dates)
|
private void |
writeCSVFileVert(java.lang.String fileName,
java.util.Date[] dates)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
showEmptyAccount
private boolean showEmptyAccount
accounts
private java.util.ArrayList<Account> accounts
balance
private java.util.ArrayList<java.math.BigDecimal[]> balance
df
private java.text.SimpleDateFormat df
rb
private final Resource rb
vertical
private boolean vertical
MonthBalanceCSV
private MonthBalanceCSV()
getDates
private java.util.Date[] getDates()
getLastDays
private static java.util.Date[] getLastDays(java.util.Date start,
java.util.Date stop)
buildLists
private void buildLists(Account a,
java.util.Date[] dates)
writeCSVFileHoriz
private void writeCSVFileHoriz(java.lang.String fileName,
java.util.Date[] dates)
throws java.io.IOException
- Throws:
java.io.IOException
writeCSVFileVert
private void writeCSVFileVert(java.lang.String fileName,
java.util.Date[] dates)
throws java.io.IOException
- Throws:
java.io.IOException
getFileName
java.lang.String getFileName()
run
public static void run()