Index

A C F G H I K L M N O P S T W 
All Classes|All Packages|Deprecated API

A

addAcceptedTag(String) - Method in class org.shredzone.commons.text.filter.SimplifyHtmlFilter
Adds a tag that is accepted by this filter, with all its attributes.
addAcceptedTag(String, String...) - Method in class org.shredzone.commons.text.filter.SimplifyHtmlFilter
Adds a tag that is accepted by this filter, along with accepted attributes.
addSmily(String, String) - Method in class org.shredzone.commons.text.filter.SmilyFilter
Adds a smily to be detected.
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.HtmlEscapeFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.KeepFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.MarkdownFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.NofollowLinksFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.NormalizeFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.ParagraphFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.SimplifyHtmlFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.SmilyFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.StripHtmlFilter
 
apply(CharSequence) - Method in class org.shredzone.commons.text.filter.TextileFilter
 
apply(CharSequence) - Method in interface org.shredzone.commons.text.TextFilter
Applies the filter on a CharSequence and returns a new CharSequence with the modified text.

C

close() - Method in class org.shredzone.commons.text.utils.FastStringWriter
 
createDocumentBuilder(Writer) - Method in class org.shredzone.commons.text.filter.TextileFilter
Creates a Textile-j DocumentBuilder to be used for writing.
createExtensionList() - Method in class org.shredzone.commons.text.filter.GithubFlavoredMarkdownFilter
 
createExtensionList() - Method in class org.shredzone.commons.text.filter.MarkdownFilter
Creates a list of markdown extensions to be used.
createHtmlRendererBuilder() - Method in class org.shredzone.commons.text.filter.MarkdownFilter
Creates and configures a commonmark HtmlRenderer.Builder to be used for rendering HTML.
createParserBuilder() - Method in class org.shredzone.commons.text.filter.MarkdownFilter
Creates and configures a commonmark Parser.Builder to be used for parsing.

F

FastStringWriter - Class in org.shredzone.commons.text.utils
A fast String writer that does not synchronize.
FastStringWriter() - Constructor for class org.shredzone.commons.text.utils.FastStringWriter
Creates a new FastStringWriter.
FastStringWriter(int) - Constructor for class org.shredzone.commons.text.utils.FastStringWriter
Creates a new FastStringWriter.
flush() - Method in class org.shredzone.commons.text.utils.FastStringWriter
 

G

GithubFlavoredMarkdownFilter - Class in org.shredzone.commons.text.filter
A filter that converts Markdown to HTML, but adding GitHub Flavored Markdown.
GithubFlavoredMarkdownFilter() - Constructor for class org.shredzone.commons.text.filter.GithubFlavoredMarkdownFilter
 

H

HtmlEscapeFilter - Class in org.shredzone.commons.text.filter
Escapes a plain text so it can be safely used in HTML.
HtmlEscapeFilter() - Constructor for class org.shredzone.commons.text.filter.HtmlEscapeFilter
 

I

imageUrl(String) - Method in interface org.shredzone.commons.text.LinkAnalyzer
Image a resolved image URL.

K

KeepFilter - Class in org.shredzone.commons.text.filter
A simple filter that keeps the text unchanged.
KeepFilter() - Constructor for class org.shredzone.commons.text.filter.KeepFilter
 

L

LinkAnalyzer - Interface in org.shredzone.commons.text
Analyzes internal and external links.
LinkToUrlFilter - Class in org.shredzone.commons.text.filter
A filter that detects links in a text, and creates an HTML <a> tag around each link.
LinkToUrlFilter() - Constructor for class org.shredzone.commons.text.filter.LinkToUrlFilter
Creates a new LinkToUrlFilter.
linkType(String) - Method in interface org.shredzone.commons.text.LinkAnalyzer
Returns the type of a link.
linkUrl(String) - Method in interface org.shredzone.commons.text.LinkAnalyzer
Returns a resolved link.

M

MarkdownFilter - Class in org.shredzone.commons.text.filter
A filter that converts Markdown to HTML.
MarkdownFilter() - Constructor for class org.shredzone.commons.text.filter.MarkdownFilter
 

N

NofollowLinksFilter - Class in org.shredzone.commons.text.filter
A filter that detects HTML hyperlinks, and adds a rel="nofollow" attribute.
NofollowLinksFilter() - Constructor for class org.shredzone.commons.text.filter.NofollowLinksFilter
 
NormalizeFilter - Class in org.shredzone.commons.text.filter
A filter that normalizes EOL markers.
NormalizeFilter() - Constructor for class org.shredzone.commons.text.filter.NormalizeFilter
 

O

org.shredzone.commons.text - package org.shredzone.commons.text
Main package with common classes.
org.shredzone.commons.text.filter - package org.shredzone.commons.text.filter
This package contains all the filters.
org.shredzone.commons.text.utils - package org.shredzone.commons.text.utils
This package contains private utilitles.

P

ParagraphFilter - Class in org.shredzone.commons.text.filter
A filter that detects paragraphs and surrounds them with a HTML &lt;p> container.
ParagraphFilter() - Constructor for class org.shredzone.commons.text.filter.ParagraphFilter
 

S

setAnalyzer(LinkAnalyzer) - Method in class org.shredzone.commons.text.filter.MarkdownFilter
Sets a LinkAnalyzer to be used for converting links and image source URLs.
setAnalyzer(LinkAnalyzer) - Method in class org.shredzone.commons.text.filter.TextileFilter
Sets a LinkAnalyzer to be used for converting links and image source URLs.
setAutolinkEnabled(boolean) - Method in class org.shredzone.commons.text.filter.GithubFlavoredMarkdownFilter
Enables the autolink extension.
setBaseUrl(String) - Method in class org.shredzone.commons.text.filter.SmilyFilter
Sets the base url that is prepended to the image file names.
setFoldLines(boolean) - Method in class org.shredzone.commons.text.filter.ParagraphFilter
Also fold single EOL marker.
setFollow(boolean) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
Deprecated.
It is confusing that this property must be set to false in order to have a "nofollow" relationship. Use LinkToUrlFilter.setNoFollow(boolean) instead.
setNoFollow(boolean) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
Sets the way search engines evaluate the created link.
setNoOpener(boolean) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
Sets whether links with target "_blank" should have a "noopener" relationship.
setNoReferrer(boolean) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
Sets wheter a "noreferrer" relationship shall be used.
setPreClass(String) - Method in class org.shredzone.commons.text.filter.MarkdownFilter
Class name to be added to each fenced code block.
setTarget(String) - Method in class org.shredzone.commons.text.filter.LinkToUrlFilter
Sets the link's target attribute.
SimplifyHtmlFilter - Class in org.shredzone.commons.text.filter
A filter that simplifies a HTML text.
SimplifyHtmlFilter() - Constructor for class org.shredzone.commons.text.filter.SimplifyHtmlFilter
 
SmilyFilter - Class in org.shredzone.commons.text.filter
A filter that detects smily sequences, and replaces them with an image.
SmilyFilter() - Constructor for class org.shredzone.commons.text.filter.SmilyFilter
Creates a new SmilyFilter.
StripHtmlFilter - Class in org.shredzone.commons.text.filter
A filter that strips HTML markup from a text.
StripHtmlFilter() - Constructor for class org.shredzone.commons.text.filter.StripHtmlFilter
 

T

TextFilter - Interface in org.shredzone.commons.text
A text filter modifies a text in a defined manner.
TextileFilter - Class in org.shredzone.commons.text.filter
A filter that converts Textile markup to HTML.
TextileFilter() - Constructor for class org.shredzone.commons.text.filter.TextileFilter
 
toString() - Method in class org.shredzone.commons.text.utils.FastStringWriter
 
toStringBuilder() - Method in class org.shredzone.commons.text.utils.FastStringWriter
Returns a StringBuilder with the contents.
toStringBuilder(CharSequence) - Method in interface org.shredzone.commons.text.TextFilter
Returns a StringBuilder for the given CharSequence.

W

write(char[], int, int) - Method in class org.shredzone.commons.text.utils.FastStringWriter
 
write(int) - Method in class org.shredzone.commons.text.utils.FastStringWriter
 
write(String, int, int) - Method in class org.shredzone.commons.text.utils.FastStringWriter
 
A C F G H I K L M N O P S T W 
All Classes|All Packages|Deprecated API