org.apache.poi.common.usermodel
Interface Hyperlink

All Known Subinterfaces:
Hyperlink, Hyperlink
All Known Implementing Classes:
HSSFHyperlink

public interface Hyperlink

Represents a hyperlink.


Field Summary
static intLINK_DOCUMENT
          Link to a place in this document
static intLINK_EMAIL
          Link to an E-mail address
static intLINK_FILE
          Link to a file
static intLINK_URL
          Link to an existing file or web page
 
Method Summary
 java.lang.StringgetAddress()
          Hyperlink address.
 java.lang.StringgetLabel()
          Return text label for this hyperlink
 intgetType()
          Return the type of this hyperlink
 voidsetAddress(java.lang.String address)
          Hyperlink address.
 voidsetLabel(java.lang.String label)
          Sets text label for this hyperlink
 

Field Detail

LINK_URL

static final int LINK_URL
Link to an existing file or web page

See Also:
Constant Field Values


LINK_DOCUMENT

static final int LINK_DOCUMENT
Link to a place in this document

See Also:
Constant Field Values


LINK_EMAIL

static final int LINK_EMAIL
Link to an E-mail address

See Also:
Constant Field Values


LINK_FILE

static final int LINK_FILE
Link to a file

See Also:
Constant Field Values

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

int getType()
Return the type of this hyperlink

Returns:
the type of this hyperlink




NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14