Class SimpleRenderer
java.lang.Object
org.variantsync.diffdetective.internal.SimpleRenderer
NOT INTENDED FOR API USE.
Renderer that may be invoked directly on a directory containing diff
and linegraph files. The renderer will render all valid files in the given
directory.
This class is mostly used for debuggin purposes within DiffDetective and
contains mostly quick-and-dirty hardcoded configuration options.
- Author:
- Paul Bittner
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private static final boolean
private static final RenderOptions<DiffLinesLabel>
private static final RenderOptions<DiffLinesLabel>
private static final VariationDiffRenderer
private static final RenderOptions<DiffLinesLabel>
private static final RenderOptions<DiffLinesLabel>
private static final RenderOptions<DiffLinesLabel>
-
Constructor Summary
-
Method Summary
-
Field Details
-
renderer
-
renderOptions
-
vulkanRenderOptions
-
renderExampleOptions
-
renderCompositePatterns
-
RENDER_OPTIONS_TO_USE
-
collapseMultipleCodeLines
private static final boolean collapseMultipleCodeLines- See Also:
-
ignoreEmptyLines
private static final boolean ignoreEmptyLines- See Also:
-
SUPPORTED_FILE_TYPES
-
GetRelativeOutputDir
-
-
Constructor Details
-
SimpleRenderer
public SimpleRenderer()
-
-
Method Details
-
render
-
main
Expects one of the following argument configurations. 1.) For rendering files: Exactly one argument pointing to a file or directory to render. 2.) For rendering patches: Exactly three arguments. The first argument is the path to a local directory from which a patch should be analyzed. The second argument is a commit hash. The third argument is the file name of the patched file in the given commit.- Parameters:
args
- See above- Throws:
IOException
- when reading a file fails.
-