Static Public Member Functions | |
static void | main (String[] args) |
static String | rc (String tempPath, String trialID, String[] arguments) |
static String | section (String tempPath, String section, String[] arguments) |
Static Private Member Functions | |
static String | escapeLatexSpecialCharacters (String laText) |
static String[] | latexTheStrings (String[] strings) |
static String | resolveRelativePath (String strRelativePath) |
Static Private Attributes | |
static File | sourceDir |
static File | template |
Definition at line 42 of file Generator.java.
static String org.knowrob.report_card.Generator.escapeLatexSpecialCharacters | ( | String | laText | ) | [inline, static, private] |
Escapes LaTeX special characters: \ { } _ ^ # & $ % ~.
laText | String to be escaped |
Definition at line 109 of file Generator.java.
static String [] org.knowrob.report_card.Generator.latexTheStrings | ( | String[] | strings | ) | [inline, static, private] |
Escape LaTeX special characters in all strings of the array.
strings | Unescaped strings |
Definition at line 91 of file Generator.java.
static void org.knowrob.report_card.Generator.main | ( | String[] | args | ) | [inline, static] |
Write hello message and check whether JLR library is accessible.
args | main method parameters - not used |
Definition at line 55 of file Generator.java.
static String org.knowrob.report_card.Generator.rc | ( | String | tempPath, |
String | trialID, | ||
String[] | arguments | ||
) | [inline, static] |
Generate a report card with given sections inside specified temporary directory.
tempPath | Absolute path to the report card temporary directory |
trialID | Trial identifier extracted from log file |
arguments | Values to be substituted in the LaTeX template - absolute paths to report sections in particular |
Definition at line 137 of file Generator.java.
static String org.knowrob.report_card.Generator.resolveRelativePath | ( | String | strRelativePath | ) | [inline, static, private] |
Resolves a relative package path. Paths like `package://my_package/models` are resolved into the absolute path of the package `my_package`, plus `/models` appended.
strRelativePath | A package path to be unwinded |
Definition at line 70 of file Generator.java.
static String org.knowrob.report_card.Generator.section | ( | String | tempPath, |
String | section, | ||
String[] | arguments | ||
) | [inline, static] |
Generate a *simplistic flavour* report card with given substitutions in specified temporary directory.
fileName | Absolute path to the report card temporary directory |
arguments | Values to be substituted in the LaTeX template |
Definition at line 203 of file Generator.java.
File org.knowrob.report_card.Generator.sourceDir [static, private] |
new File(resolveRelativePath("package://" + "report_card/report_card/tex_templates"))
Definition at line 45 of file Generator.java.
File org.knowrob.report_card.Generator.template [static, private] |
new File(sourceDir.getAbsolutePath() + File.separator + "reportCard.tex")
Definition at line 47 of file Generator.java.