Package | Description |
---|---|
io.netty.resolver |
Resolves an arbitrary string that represents the name of an endpoint into an address.
|
Modifier and Type | Method and Description |
---|---|
static HostsFileEntries |
HostsFileParser.parse()
Parse hosts file at standard OS location using the system default
Charset for decoding. |
static HostsFileEntries |
HostsFileParser.parse(File file)
Parse a hosts file using the system default
Charset for decoding. |
static HostsFileEntries |
HostsFileParser.parse(File file,
Charset... charsets)
Parse a hosts file.
|
static HostsFileEntries |
HostsFileParser.parse(Reader reader)
Parse a reader of hosts file format.
|
static HostsFileEntries |
HostsFileParser.parseSilently()
Parse hosts file at standard OS location using the systems default
Charset for decoding. |
static HostsFileEntries |
HostsFileParser.parseSilently(Charset... charsets)
Parse hosts file at standard OS location using the given
Charset s one after each other until
we were able to parse something or none is left. |
Copyright © 2008–2024 The Netty Project. All rights reserved.