MCPcopy Index your code
hub / github.com/Philipinho/GetVideoBot / getValue

Method getValue

src/main/java/utils/ReadProperty.java:9–20  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

7
8
9 public static String getValue(String key) {
10 Properties props = new Properties();
11
12 try {
13 InputStream inputStream = ClassLoader.getSystemClassLoader().getResourceAsStream("settings.properties");
14 props.load(inputStream);
15 } catch (Exception e) {
16 e.printStackTrace();
17 }
18
19 return props.getProperty(key);
20 }
21
22}

Callers 4

mainMethod · 0.95
getUserPageMethod · 0.95
twitterClientMethod · 0.95
DBHelperClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected