public String xmlToThrift ( String name ) { name = name . replace ( "-custom.xml" , "" ) ; name = name . replace ( ".xml" , "" ) ; name = name . replace ( "-" , "_" ) ; return name ; }
Maps xml configs to their respective key names in the file config . materialized_JSON