Skip to content

Instantly share code, notes, and snippets.

@SriniBlog
Created December 16, 2015 13:45
Show Gist options
  • Save SriniBlog/a6927e583495672469ee to your computer and use it in GitHub Desktop.
Save SriniBlog/a6927e583495672469ee to your computer and use it in GitHub Desktop.
Load Properties file from the Java Mapping. Properties file is attached with the class file in the same jar.
// JM_ReadPropertiesFile = File Name of the Java Mapping Program
InputStream sin = JM_ReadPropertiesFile.class.getResourceAsStream("propertyfile.txt");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment