public class LinkBuilder extends Object
| Constructor and Description |
|---|
LinkBuilder(String text) |
| Modifier and Type | Method and Description |
|---|---|
Link |
build() |
LinkBuilder |
style(TextStyle ts) |
LinkBuilder |
to(File file) |
LinkBuilder |
to(String relativeRef) |
LinkBuilder |
to(Table table) |
LinkBuilder |
to(TableRef tableRef) |
LinkBuilder |
to(URI uri) |
LinkBuilder |
to(URL url) |
public LinkBuilder(String text)
text - the text contentpublic Link build()
public LinkBuilder style(TextStyle ts)
ts - the text stylepublic LinkBuilder to(Table table)
table - the tablepublic LinkBuilder to(TableRef tableRef)
tableRef - the table refpublic LinkBuilder to(String relativeRef)
relativeRef - the refpublic LinkBuilder to(File file)
file - the filepublic LinkBuilder to(URL url)
url - the urlpublic LinkBuilder to(URI uri)
uri - the uriCopyright © 2016–2021. All rights reserved.