public class HTImageFromPath extends AbstractHTMLTransformerFromPath
Constructor and Description |
---|
HTImageFromPath(String keyword)
Attention: when using this constructor, you have to call
setFiles() manually.
|
HTImageFromPath(String keyword,
File folder)
Initializes given folder.
|
HTImageFromPath(String keyword,
File[] files_or_folders)
Initializes given files or folders.
|
HTImageFromPath(String keyword,
String folder)
Initializes given folder.
|
HTImageFromPath(String keyword,
String[] files_or_folders)
Initializes given files or folders.
|
Modifier and Type | Method and Description |
---|---|
String |
getHTMLforNode(Node node)
Takes an image file from the given node and generates a
corresponding HTML representation.
|
getFiles, setFiles
getKeyword
public HTImageFromPath(String keyword)
keyword
- the keyword, as it should appear in the table.public HTImageFromPath(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 HTImageFromPath(String keyword, String folder)
keyword
- the keyword, as it should appear in the table.folder
- Paths a directory containing such source code files.public HTImageFromPath(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 String getHTMLforNode(Node node)
getHTMLforNode
in interface SpecialHTMLTransformer
getHTMLforNode
in class AbstractHTMLTransformerFromPath
node
- a node from some sequence that can be transformed according
to this ExternalContent.Copyright (C) 2013, 2014 Benjamin Paaßen, Charlie Krüger, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs