public final Set < String > getOutputFormatsNames ( ) { SortedSet < String > formats = new TreeSet <> ( ) ; for ( String formatBeanName : this . outputFormat . keySet ( ) ) { int endingIndex = formatBeanName . indexOf ( MAP_OUTPUT_FORMAT_BEAN_NAME_ENDING ) ; if ( endingIndex < 0 ) { endingIndex = formatBeanName . indexOf ( OUTPUT_FORMAT_BEAN_NAME_ENDING ) ; } formats . add ( formatBeanName . substring ( 0 , endingIndex ) ) ; } return formats ; }
Return the available format ids .