Returns an instance of InternetDomainName after lenient validation. Specifically, validation against RFC 3490 ("Internationalizing Domain Names in Applications") is skipped, while validation against <a href="http://www.ietf.org/rfc/rfc1035.tx
(String domain)
| 186 | |
| 187 | |
| 188 | public static InternetDomainName from(String domain) { |
| 189 | return new InternetDomainName(checkNotNull(domain)); |
| 190 | } |
| 191 | |
| 192 | /** |
| 193 | * Validation method used by {@from} to ensure that the domain name is syntactically valid |
no test coverage detected