public class TfcatStatus extends Object
getStatus(java.lang.String) method parses a given text to return an instance
of this class.| Modifier and Type | Class and Description |
|---|---|
static class |
TfcatStatus.Code
Parse result code.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TfcatStatus(TfcatStatus.Code code,
String message)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TfcatStatus.Code |
getCode()
Returns a code summarising the validity status.
|
String |
getMessage()
Returns a message containing information about compliancy issues
during parsing.
|
static TfcatStatus |
getStatus(String tfcatTxt)
Parses a given TFCat text and returns a status.
|
protected TfcatStatus(TfcatStatus.Code code, String message)
code - validity codemessage - message giving error reports, or null for validpublic TfcatStatus.Code getCode()
public String getMessage()
public static TfcatStatus getStatus(String tfcatTxt)
tfcatTxt - TFCat text; this should be a JSON Object or nullCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.