String function ( String arg0 ) { String loc0 = new String ( arg0 ) ; for ( LineFeed loc1 : LineFeed . values ( ) ) { loc0 . replaceAll ( loc1 . getRegexLineFeed ( ) , loc1 . getLineFeed ( ) ) ; } return loc0 ; }
replaced double escapes such as reading '' \ r '' from a config file which translates to '' \ \ r '' for setting the linefeed . add special characters as needed . concode_field_sep BufferedReader br concode_elem_sep String commentedCmds concode_elem_sep InputStream in concode_elem_sep String rawCmds concode_elem_sep String configPath concode_elem_sep String title concode_elem_sep ConfigType configType concode_elem_sep String lineFeed concode_field_sep ConfigType getConfigType concode_elem_sep boolean readBuffer concode_elem_sep String getEscapedRawCmds concode_elem_sep String getCommentedCmds concode_elem_sep String getLineFeed concode_elem_sep LineFeed getLineFeed concode_elem_sep String getLineFeed concode_elem_sep boolean setEscapedLineFeed concode_elem_sep boolean setEscapedLineFeed concode_elem_sep String escapeString concode_elem_sep boolean setCommentedCmds concode_elem_sep boolean isBlank concode_elem_sep String getEscapedCommentedCmds concode_elem_sep boolean setConfigType concode_elem_sep boolean setConfigType concode_elem_sep boolean setConfigType concode_elem_sep String getRawCmds concode_elem_sep String getRegexLineFeed concode_elem_sep boolean setLineFeed concode_elem_sep boolean setLineFeed concode_elem_sep void closeStreams concode_elem_sep String getConfigPath concode_elem_sep ConfigType getType concode_elem_sep void readFile concode_elem_sep String toString concode_elem_sep boolean setConfigPath concode_elem_sep boolean setConfigPath concode_elem_sep boolean setConfigPath concode_elem_sep boolean setConfigPath concode_elem_sep String getEscapedLineFeed concode_elem_sep String getEscapedLineFeed