summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/btr/proxy/selector/whitelist/WhiteListParser.java
blob: 7cd5fd58e66d8f4c32bc3dce4a47627a548508e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.btr.proxy.selector.whitelist;

import java.util.List;

import com.btr.proxy.util.UriFilter;

/*****************************************************************************
 * Interface for an white list parser. This will take an white list string and 
 * parse it into a list of UriFilter rules. 
 *
 * @author Bernd Rosstauscher (proxyvole@rosstauscher.de) Copyright 2009
 ****************************************************************************/

public interface WhiteListParser {
	
	/*************************************************************************
	 * Parses a list of host name and IP filters into UriFilter objects.
	 * @param whiteList the string to parse.
	 * @return a list of UriFilters
	 ************************************************************************/
	
	public List<UriFilter> parseWhiteList(String whiteList);

}