Package | Description |
---|---|
net.i2p.addressbook |
The addressbook application, which fetches hosts.txt files from subscription URLs via
HTTP and adds new hosts to the local database.
|
Modifier and Type | Method and Description |
---|---|
static HostTxtEntry |
HostTxtParser.parse(String inputLine,
boolean allowCommandOnly)
Return a HostTxtEntry from the contents of the inputLine.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<String,HostTxtEntry>> |
AddressBook.iterator()
Return an iterator over the addresses in the AddressBook.
|
Map.Entry<String,HostTxtEntry> |
HostTxtIterator.next()
'remove' entries will be returned with a null key,
and the value will contain a null name, null dest,
and non-null props.
|
static Map<String,HostTxtEntry> |
HostTxtParser.parse(File file)
Return a Map using the contents of the File file.
|
static Map<String,HostTxtEntry> |
HostTxtParser.parse(File file,
Map<String,HostTxtEntry> map)
Return a Map using the contents of the File file.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,HostTxtEntry> |
HostTxtParser.parse(File file,
Map<String,HostTxtEntry> map)
Return a Map using the contents of the File file.
|
static void |
HostTxtParser.write(Map<String,HostTxtEntry> map,
File file)
Write contents of Map map to the File file.
|
Constructor and Description |
---|
AddressBook(Map<String,HostTxtEntry> addresses)
Construct an AddressBook from the contents of the Map addresses.
|