public class IpConfigStore extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DNS_KEY |
protected static String |
EOS |
protected static String |
EXCLUSION_LIST_KEY |
protected static String |
GATEWAY_KEY |
protected static String |
ID_KEY |
protected static String |
IP_ASSIGNMENT_KEY |
protected static int |
IPCONFIG_FILE_VERSION |
protected static String |
LINK_ADDRESS_KEY |
protected DelayedDiskWrite |
mWriter |
protected static String |
PROXY_HOST_KEY |
protected static String |
PROXY_PAC_FILE |
protected static String |
PROXY_PORT_KEY |
protected static String |
PROXY_SETTINGS_KEY |
Constructor and Description |
---|
IpConfigStore() |
IpConfigStore(DelayedDiskWrite writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
log(String s) |
protected void |
loge(String s) |
SparseArray<IpConfiguration> |
readIpAndProxyConfigurations(String filePath) |
void |
writeIpAndProxyConfigurations(String filePath,
SparseArray<IpConfiguration> networks) |
protected final DelayedDiskWrite mWriter
protected static final String ID_KEY
protected static final String IP_ASSIGNMENT_KEY
protected static final String LINK_ADDRESS_KEY
protected static final String GATEWAY_KEY
protected static final String DNS_KEY
protected static final String PROXY_SETTINGS_KEY
protected static final String PROXY_HOST_KEY
protected static final String PROXY_PORT_KEY
protected static final String PROXY_PAC_FILE
protected static final String EXCLUSION_LIST_KEY
protected static final String EOS
protected static final int IPCONFIG_FILE_VERSION
public IpConfigStore(DelayedDiskWrite writer)
public IpConfigStore()
public void writeIpAndProxyConfigurations(String filePath, SparseArray<IpConfiguration> networks)
public SparseArray<IpConfiguration> readIpAndProxyConfigurations(String filePath)
protected void loge(String s)
protected void log(String s)