public class ReportFormatHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanForCSV(String input)
Strip out any invalid characters from CSV data.
|
static String |
formatDate(long epochMillis)
Standard Date/time format for CSV files
|
static String |
formatDateTime(long epochMillis)
Standard Date/time format for CSV files
|
static String |
parseAncestry(String ancestry) |
static String |
quoteIfInvalidCharacters(String input)
Quote column if there are delimiter characters in the data
|
public static String quoteIfInvalidCharacters(String input)
input - Original column data to be written to the CSVpublic static String cleanForCSV(String input)
input - public static String formatDateTime(long epochMillis)
epochMillis - public static String formatDate(long epochMillis)
epochMillis - Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.