Advertisement
duc-phan

Untitled

Dec 4th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. public void loadProperties() {
  2.     try {
  3.         String propertiesPath = propertiesLocation + "/" + PROPERTIES_FILE;
  4.         FileInputStream propertiesStream = new FileInputStream(propertiesPath);
  5.         loadedProperties.load(propertiesStream);
  6.     } catch(IOException e) {
  7.         // No properties files means all defaults are loaded
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement