/** * Read the host part of the URL with just the host. * * <p>http://www.cnn.com/index.html * * <p>would return * * <p>http://www.cnn.com * * @return */ public ResourceQuery site() { if (value == null) return ResourceQueries.resource(); return ResourceQueries.resource(ResourceTokenizer.domainTokenize(value)); }
public ResourceQuery tokenize() { if (value == null) return ResourceQueries.resource(); return ResourceQueries.resource(ResourceTokenizer.tokenize4(value)); }