public class TLDList extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String str) |
static TLDList |
getInstance() |
static void |
setUseOnline(boolean online)
If
online is set to true, the list of TLD files will be downloaded and refreshed,
otherwise the one cached in src/main/resources/tld-names.txt will be used. |
protected static void |
setUseOnline(boolean online,
String downloadFromUrl) |
public static TLDList getInstance()
public static void setUseOnline(boolean online)
online
is set to true, the list of TLD files will be downloaded and refreshed,
otherwise the one cached in src/main/resources/tld-names.txt will be used.protected static void setUseOnline(boolean online, String downloadFromUrl)
public boolean contains(String str)
Copyright © 2018. All rights reserved.