public class AnchorURL extends DigestURL
MultiProtocolURL.CharType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
imageAlt |
private DigestURL |
imageURL |
private java.lang.String |
nameProperty |
private java.lang.String |
relProperty |
private static long |
serialVersionUID |
private java.lang.String |
textBody |
POISON, rootPattern
anchor, contentDomain, host, hostAddress, path, port, protocol, searchpart, splitpattern, TLD_any_zone_filter, userInfo
Constructor and Description |
---|
AnchorURL(AnchorURL url) |
AnchorURL(DigestURL url) |
AnchorURL(MultiProtocolURL baseURL,
java.lang.String relPath) |
AnchorURL(java.lang.String url) |
AnchorURL(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path) |
AnchorURL(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
DigestURL imageURL,
java.lang.String imageAlt) |
Modifier and Type | Method and Description |
---|---|
boolean |
attachedNofollow() |
java.util.Properties |
getAll() |
java.lang.String |
getImageAlt() |
DigestURL |
getImageURL() |
java.lang.String |
getNameProperty() |
java.lang.String |
getRelProperty() |
java.lang.String |
getTextProperty() |
static AnchorURL |
newAnchor(DigestURL baseURL,
java.lang.String relPath) |
void |
setAll(java.util.Properties tagopts) |
void |
setImageAlt(java.lang.String imageAlt) |
void |
setImageURL(DigestURL imageURL) |
void |
setNameProperty(java.lang.String name) |
void |
setRelProperty(java.lang.String rel) |
void |
setTextProperty(java.lang.String text) |
java.lang.String |
toHTML() |
domLengthEstimation, domLengthNormalized, flagLengthID, flagTLDID, flagTypeID, hash, hashCode, hosthash, hosthash, hosthash6, hosthashes, hosthashess, isLocal, isLocal, newURL
canRead, canWrite, compareTo, equals, escape, exists, get, getAttributes, getAuthority, getContentDomainFromExt, getFile, getFile, getFileExtension, getFileName, getFSFile, getHost, getInetAddress, getInputStream, getLocale, getLocalFile, getName, getOrganization, getPath, getPaths, getPort, getProtocol, getRef, getSearchpart, getSearchpartMap, getSmbFile, getTLD, getURL, getUserInfo, initSessionIDNames, isCGI, isDirectory, isFile, isFile, isFTP, isFTP, isHidden, isHTTP, isHTTP, isHTTPS, isHTTPS, isImage, isIndividual, isPOST, isSMB, isSMB, language, lastModified, length, list, main, newURL, newURL, read, removeRef, toNormalform, toNormalform, toPunycode, toString, toTokens, toTokens, unescape, urlComps, urlstub
private static final long serialVersionUID
private java.lang.String nameProperty
private java.lang.String relProperty
private java.lang.String textBody
private DigestURL imageURL
private java.lang.String imageAlt
public AnchorURL(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
public AnchorURL(AnchorURL url)
public AnchorURL(DigestURL url)
public AnchorURL(MultiProtocolURL baseURL, java.lang.String relPath) throws java.net.MalformedURLException
java.net.MalformedURLException
public AnchorURL(java.lang.String protocol, java.lang.String host, int port, java.lang.String path) throws java.net.MalformedURLException
java.net.MalformedURLException
public AnchorURL(java.lang.String protocol, java.lang.String host, int port, java.lang.String path, DigestURL imageURL, java.lang.String imageAlt) throws java.net.MalformedURLException
java.net.MalformedURLException
public static AnchorURL newAnchor(DigestURL baseURL, java.lang.String relPath) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.String getNameProperty()
public void setNameProperty(java.lang.String name)
public java.lang.String getTextProperty()
public void setTextProperty(java.lang.String text)
public java.lang.String getRelProperty()
public void setRelProperty(java.lang.String rel)
public DigestURL getImageURL()
public void setImageURL(DigestURL imageURL)
public java.lang.String getImageAlt()
public void setImageAlt(java.lang.String imageAlt)
public void setAll(java.util.Properties tagopts)
public java.util.Properties getAll()
public boolean attachedNofollow()
public java.lang.String toHTML()