Package cz.diribet.aqdef.parser
Class AqdefParser
- java.lang.Object
-
- cz.diribet.aqdef.parser.AqdefParser
-
- All Implemented Interfaces:
AqdefConstants
public class AqdefParser extends Object implements AqdefConstants
ParsesAqdefObjectModelfrom a AQDEF content (file or other data source)- Author:
- Vlastimil Dolejs
-
-
Field Summary
-
Fields inherited from interface cz.diribet.aqdef.AqdefConstants
LINE_SEPARATOR, MEASURED_VALUES_CHARACTERISTIC_SEPARATOR, MEASURED_VALUES_DATA_SEPARATOR, VALUES_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description AqdefParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AqdefObjectModelparse(File file, String encoding)AqdefObjectModelparse(InputStream inputStream, String encoding)AqdefObjectModelparse(Reader reader)AqdefObjectModelparse(String content)AqdefObjectModelparse(Path file, String encoding)voidsetSuppressInvalidKKeyLogging(boolean suppressInvalidKKeyLogging)Set to true if the invalid K-key logging should be suppressed for all K-keys.voidsetSuppressInvalidKKeyLoggingFor(Set<KKey> suppressInvalidKKeyLoggingFor)Set K-keys for which the invalid K-key logging should be suppressed.
-
-
-
Method Detail
-
parse
public AqdefObjectModel parse(String content) throws IOException
- Throws:
IOException
-
parse
public AqdefObjectModel parse(Path file, String encoding) throws IOException
- Throws:
IOException
-
parse
public AqdefObjectModel parse(File file, String encoding) throws IOException
- Throws:
IOException
-
parse
public AqdefObjectModel parse(InputStream inputStream, String encoding) throws IOException
- Throws:
IOException
-
parse
public AqdefObjectModel parse(Reader reader) throws IOException
- Throws:
IOException
-
setSuppressInvalidKKeyLogging
public void setSuppressInvalidKKeyLogging(boolean suppressInvalidKKeyLogging)
Set to true if the invalid K-key logging should be suppressed for all K-keys.
-
-