Commit 88886a1b877ff53dba943c2a3997ed1ded5378ed

Authored by fabricio
1 parent c8bc5071
Exists in master

nova classe java para implementar contato

src/br/com/model/utilities/ManagerProperties.java 0 → 100644
... ... @@ -0,0 +1,15 @@
  1 +package br.com.model.utilities;
  2 +
  3 +import java.io.FileInputStream;
  4 +import java.io.IOException;
  5 +import java.util.Properties;
  6 +
  7 +public class ManagerProperties {
  8 +
  9 + public Properties getProp(String path) throws IOException {
  10 + Properties props = new Properties();
  11 + FileInputStream file = new FileInputStream(path);
  12 + props.load(file);
  13 + return props;
  14 + }
  15 +}
... ...