// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/item/ACLItem.java
// public interface ACLItem {
// 
//     ACLItemType getType();
// 
//     ACLItemMethod getMethod();
// 
//     boolean match(final byte[] address);
// 
//     //DO NOT resolve and match with hostname's IPs!!! Just return false if it's an IP address item
//     boolean match(final String domain);
// 
// }


import com.vecsight.dragonite.proxy.acl.item.ACLItem;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
/*
 * The Dragonite Project
 * -------------------------
 * See the LICENSE file in the root directory for license information.
 */


package com.vecsight.dragonite.proxy.acl;



public class ParsedACL {

    private final String title;

    private final String author;

    private final ACLItemMethod defaultMethod;

// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/item/ACLItem.java
// public interface ACLItem {
// 
//     ACLItemType getType();
// 
//     ACLItemMethod getMethod();
// 
//     boolean match(final byte[] address);
// 
//     //DO NOT resolve and match with hostname's IPs!!! Just return false if it's an IP address item
//     boolean match(final String domain);
// 
// }


// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/ParsedACL.java
import com.vecsight.dragonite.proxy.acl.item.ACLItem;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

/*
 * The Dragonite Project
 * -------------------------
 * See the LICENSE file in the root directory for license information.
 */


package com.vecsight.dragonite.proxy.acl;



public class ParsedACL {

    private final String title;

    private final String author;

    private final ACLItemMethod defaultMethod;

    private final List<ACLItem> items;