Guest User

Untitled

a guest
Feb 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Properties MyProp= new Properties();
  2. String Key;
  3. String AID;
  4. InputStream in = ClassLoader.getResourceAsStream("Test.properties");
  5. FileInputStream x;
  6. x = (FileInputStream) in;
  7.  
  8. MyProp.load(x);
  9. Key = MyProp.getProperty("MP.Key");
  10. AID = MyProp.getProperty("MP.AID");
Add Comment
Please, Sign In to add comment