in commands/src/main/java/org/jclouds/karaf/commands/table/internal/PropertyShellTableFactory.java [41:64]
private void load() {
Properties properties = new Properties();
File f = new File(PROPERTIES_FILE_PATH);
FileInputStream fis = null;
try {
fis = new FileInputStream(f);
properties.load(fis);
Enumeration keys = properties.keys();
while (keys.hasMoreElements()) {
Object key = keys.nextElement();
Object value = properties.get(key);
getProperties().put(key, value);
}
} catch (IOException e) {
LOGGER.warn("Failed to load jclouds shell configuration from file.", e);
} finally {
if (fis != null) {
try {
fis.close();
} catch (Throwable t) {
}
}
}
}