public class ListingParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ListingParser.CclError
An object representing a CCL error that was encountered.
|
static class |
ListingParser.CclWarning
A data object to represent any CCL-W messages.
|
static class |
ListingParser.ListingParseResult
A bean representing the data parsed from a CCL compilation listing.
|
| Constructor and Description |
|---|
ListingParser() |
| Modifier and Type | Method and Description |
|---|---|
static ListingParser |
getInstance()
Get a singleton instance of
ListingParser. |
ListingParser.ListingParseResult |
parseListing(File listing)
Read in the file and parse out the contents of the listing, looking for errors and warnings.
|
public static ListingParser getInstance()
ListingParser.ListingParser.public ListingParser.ListingParseResult parseListing(File listing) throws IOException
listing - A File object representing the location of the listing file to be parsed.ListingParser.ListingParseResult object representing the result of the parsing.IOException - If any errors occur while reading the file.NullPointerException - If the given file is null.Copyright © 2019. All rights reserved.