public FileBasedIPList(String fileName) { this.fileName = fileName; String[] lines; try { lines = readLines(fileName); } catch (IOException e) { lines = null; } if (lines != null) { addressList = new MachineList(new HashSet<String>(Arrays.asList(lines))); } else { addressList = null; } }
public FileBasedIPList(String fileName) { this.fileName = fileName; String[] lines; try { lines = readLines(fileName); } catch (IOException e) { lines = null; } if (lines != null) { addressList = new MachineList(new HashSet<String>(Arrays.asList(lines))); } else { addressList = null; } }
public FileBasedIPList(String fileName) { this.fileName = fileName; String[] lines; try { lines = readLines(fileName); } catch (IOException e) { lines = null; } if (lines != null) { addressList = new MachineList(new HashSet<String>(Arrays.asList(lines))); } else { addressList = null; } }
public FileBasedIPList(String fileName) { this.fileName = fileName; String[] lines; try { lines = readLines(fileName); } catch (IOException e) { lines = null; } if (lines != null) { addressList = new MachineList(new HashSet<String>(Arrays.asList(lines))); } else { addressList = null; } }
public FileBasedIPList(String fileName) { this.fileName = fileName; String[] lines; try { lines = readLines(fileName); } catch (IOException e) { lines = null; } if (lines != null) { addressList = new MachineList(new HashSet<String>(Arrays.asList(lines))); } else { addressList = null; } }