public abstract class AbstractHTMLTransformerFromPath extends AbstractSpecialHTMLTransformer
Constructor and Description |
---|
AbstractHTMLTransformerFromPath(String keyword)
Attention: when using this constructor, you have to call
setFiles() manually.
|
AbstractHTMLTransformerFromPath(String keyword,
File folder)
Initializes given folder.
|
AbstractHTMLTransformerFromPath(String keyword,
File[] files_or_folders)
Initializes given files or folders.
|
AbstractHTMLTransformerFromPath(String keyword,
String folder)
Initializes given folder.
|
AbstractHTMLTransformerFromPath(String keyword,
String[] files_or_folders)
Initializes given files or folders.
|
Modifier and Type | Method and Description |
---|---|
Map<String,File> |
getFiles()
Returns the files map.
|
abstract String |
getHTMLforNode(Node node)
Transforms the given node into HTML content for the visualization.
|
void |
setFiles(Map<String,File> files)
Sets the files map directly.
|
getKeyword
public AbstractHTMLTransformerFromPath(String keyword)
keyword
- the keyword, as it should appear in the table.public AbstractHTMLTransformerFromPath(String keyword, String[] files_or_folders)
keyword
- the keyword, as it should appear in the table.files_or_folders
- Paths to source code files or
a directory/directories containing such files.public AbstractHTMLTransformerFromPath(String keyword, String folder)
keyword
- the keyword, as it should appear in the table.folder
- Paths a directory containing such source code files.public AbstractHTMLTransformerFromPath(String keyword, File[] files_or_folders)
keyword
- the keyword, as it should appear in the table.files_or_folders
- Source code files or
a directory/directories containing such files.public void setFiles(Map<String,File> files)
files
- Paths to files or folder[s] containing files.public abstract String getHTMLforNode(Node node)
AbstractSpecialHTMLTransformer
getHTMLforNode
in interface SpecialHTMLTransformer
getHTMLforNode
in class AbstractSpecialHTMLTransformer
node
- a node from some sequence that can be transformed according
to this ExternalContent.Copyright © 2014. All rights reserved.