private static String getReplierExportStrategyLabel ( Locale locale , ReplierExportStrategy replierExportStrategy ) { switch ( replierExportStrategy ) { case NONE : break ; case HASH : return Messages . getInstance ( ) . getText ( locale , "panelAdmin.query.export.csvReplierIdColumn" ) ; case NAME : return Messages . getInstance ( ) . getText ( locale , "panelAdmin.query.export.csvReplierNameColumn" ) ; case EMAIL : return Messages . getInstance ( ) . getText ( locale , "panelAdmin.query.export.csvReplierEmailColumn" ) ; } return null ; }
Returns label for given replier export strategy