make parser package access
This commit is contained in:
parent
7d2596e0fe
commit
797d9c1a13
|
@ -30,11 +30,11 @@ public class NetServices {
|
||||||
System.getProperty("sigar.net.services.file", defaultFile);
|
System.getProperty("sigar.net.services.file", defaultFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
private interface EntryReader {
|
interface EntryReader {
|
||||||
public void process(String name, String port, List aliases);
|
public void process(String name, String port, List aliases);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void parse(String fileName, EntryReader entry) {
|
static void parse(String fileName, EntryReader entry) {
|
||||||
File file = new File(fileName);
|
File file = new File(fileName);
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue