public class SyntaxChecker extends Object
| Constructor and Description |
|---|
SyntaxChecker(org.thewonderlemming.c4plantuml.commons.Reporter reporter)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check(Path c4SourceFile)
Parses a given file and checks its syntax for errors, using
UTF-8 encoding. |
void |
check(Path c4SourceFile,
Charset charset)
Parses a given file and checks its syntax for errors.
|
public SyntaxChecker(org.thewonderlemming.c4plantuml.commons.Reporter reporter)
reporter - the Reporter to report to.public void check(Path c4SourceFile)
UTF-8 encoding.c4SourceFile - the given file to parse.Copyright © 2020. All rights reserved.