private static void parseGet(String[] arr, ConfigUpdater o) throws ParseException { if (arr.length > 1) { switch (arr[1]) { case "LIST_CLIENT": { if (arr.length == 2) { o.sendList(ProxyFilter.getClientsLists()); } else { o.sendList(ProxyFilter.getClientList(arr[2])); } } break; case "LIST_ADDRESS": { if (arr.length == 2) { o.sendList(ProxyFilter.getAddressesLists()); } else { o.sendList(ProxyFilter.getAddressList(arr[2])); } } break; default: { throw new ParseException("Wrong get params", 2); } } } else { throw new ParseException("Wrong get section", 1); } }