Packages that use HostTxtEntry
Package
Description
Address book application for fetching and maintaining I2P host databases from subscription sources.
Uses of HostTxtEntry in net.i2p.addressbook
Classes in net.i2p.addressbook that implement interfaces with type arguments of type HostTxtEntryModifier and TypeClassDescription(package private) classAn address book for storing human readable names mapped to base64 i2p destinations.(package private) classA class to iterate through a hosts.txt or config file without reading the whole thing into memory.private static classThe object returned by the iterator.Fields in net.i2p.addressbook declared as HostTxtEntryModifier and TypeFieldDescriptionprivate final HostTxtEntryHostTxtIterator.MapEntry.valueThe entry's address and timing.Fields in net.i2p.addressbook with type parameters of type HostTxtEntryModifier and TypeFieldDescriptionprivate final Map<String, HostTxtEntry> AddressBook.addressesEither addresses or subFile will be non-null, but not both.Methods in net.i2p.addressbook that return HostTxtEntryModifier and TypeMethodDescriptionHostTxtIterator.MapEntry.getValue()static HostTxtEntryReturn a HostTxtEntry from the contents of the inputLine.HostTxtIterator.MapEntry.setValue(HostTxtEntry v) Methods in net.i2p.addressbook that return types with arguments of type HostTxtEntryModifier and TypeMethodDescriptionAddressBook.iterator()Return an iterator over the addresses in the AddressBook.HostTxtIterator.next()Return the next entry.private static Map<String, HostTxtEntry> HostTxtParser.parse(BufferedReader input) Return a Map using the contents of BufferedReader input.static Map<String, HostTxtEntry> 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.Methods in net.i2p.addressbook with parameters of type HostTxtEntryMethod parameters in net.i2p.addressbook with type arguments of type HostTxtEntryModifier and TypeMethodDescriptionprivate voidAddressBook.merge2(AddressBook other, Iterator<Map.Entry<String, HostTxtEntry>> iter, boolean overwrite, Log log) Merges entries from another book into this one.static Map<String, HostTxtEntry> HostTxtParser.parse(File file, Map<String, HostTxtEntry> map) Return a Map using the contents of the File file.private static voidDaemon.update(NamingService router, Set<String> knownNames, NamingService publishedNS, AddressBook addressbook, Iterator<Map.Entry<String, HostTxtEntry>> iter, Log log) Add, update or remove subscriptions in the router naming service.private static voidHostTxtParser.write(Map<String, HostTxtEntry> map, BufferedWriter output) Write contents of Map map to BufferedWriter output.static voidHostTxtParser.write(Map<String, HostTxtEntry> map, File file) Write contents of Map map to the File file.Constructors in net.i2p.addressbook with parameters of type HostTxtEntryConstructor parameters in net.i2p.addressbook with type arguments of type HostTxtEntryModifierConstructorDescriptionAddressBook(Map<String, HostTxtEntry> addresses) Construct an AddressBook from the contents of the Map addresses.