Skip to content

Instantly share code, notes, and snippets.

@mmalmeida
Created February 28, 2013 17:02
Show Gist options
  • Select an option

  • Save mmalmeida/5058260 to your computer and use it in GitHub Desktop.

Select an option

Save mmalmeida/5058260 to your computer and use it in GitHub Desktop.
String mapPath = getClass().getResource(MAPPING_FILE).toString();
mapPath = mapPath.replace("%20", " ");
mapPath = mapPath.substring(mapPath.indexOf(":")+1);
log.debug("Map Path is: " + mapPath);
convertOptions.setOptionMap(optionCreator.createOptionMap(new File(mapPath)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment