Load hash table from file
This task use java to load hash table from file.
Load hash table from file using FileInputStream
public void loadHash(Properties properties, String filename) {
try {
FileInputStream fis = new FileInputStream(filename);
properties.load(fis);
fis.close();
} catch (Exception e) {
logger.error("", e);
}
}
No comments:
Post a Comment