Package org.apache.poi.common.usermodel
Interface Hyperlink
-
- All Known Implementing Classes:
HSSFHyperlink
public interface HyperlinkRepresents a hyperlink.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAddress()Hyperlink address.java.lang.StringgetLabel()Return text label for this hyperlinkHyperlinkTypegetType()Return the type of this hyperlinkvoidsetAddress(java.lang.String address)Hyperlink address.voidsetLabel(java.lang.String label)Sets text label for this hyperlink
-
-
-
Method Detail
-
getAddress
java.lang.String getAddress()
Hyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc.- Returns:
- the address of this hyperlink
-
setAddress
void setAddress(java.lang.String address)
Hyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc.- Parameters:
address- the address of this hyperlink
-
getLabel
java.lang.String getLabel()
Return text label for this hyperlink- Returns:
- text to display
-
setLabel
void setLabel(java.lang.String label)
Sets text label for this hyperlink- Parameters:
label- text label for this hyperlink
-
getType
HyperlinkType getType()
Return the type of this hyperlink- Returns:
- the type of this hyperlink
-
-