public static Entry < String , String > formatReportDataForBrowsableReports ( Entry < String , String > entryItem ) { String key = entryItem . getKey ( ) ; String value = entryItem . getValue ( ) ; String formattedKey = key ; String formattedValue = value ; switch ( key ) { case ReporterDateFormatter . CURRENTDATE : formattedKey = "Current Date" ; formattedValue = ReporterDateFormatter . getStringFromISODateString ( value ) ; break ; default : break ; } return new AbstractMap . SimpleImmutableEntry < String , String > ( formattedKey , formattedValue ) ; }
Formats specific keys and values into readable form for HTML Reporter .