public class

PublicSuffixListParser

extends Object
java.lang.Object
   ↳ org.apache.http.impl.cookie.PublicSuffixListParser

Class Overview

Parses the list from publicsuffix.org and configures a PublicSuffixFilter.

Summary

Public Methods
void parse(Reader list)
Parses the public suffix list format.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void parse (Reader list)

Also: HttpClient

Parses the public suffix list format. When creating the reader from the file, make sure to use the correct encoding (the original list is in UTF-8).

Parameters
list the suffix list. The caller is responsible for closing the reader.
Throws
IOException on error while reading from list