public class MapFileParser
extends java.lang.Object
Constructor and Description |
---|
MapFileParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(java.io.File file,
MapFileHandler handler)
Parse the given file.
|
void |
parse(java.io.Reader reader,
MapFileHandler handler)
Parse the data from the reader.
|
public void parse(java.io.File file, MapFileHandler handler) throws java.io.IOException
file
- the file to be parsed.handler
- the handler that will receive the results of the parsed
file.java.io.IOException
- if the file cannot be parsed.public void parse(java.io.Reader reader, MapFileHandler handler) throws java.io.IOException
reader
- the sorce for the map file data.handler
- the handler that will receive the results of the parsed
data.java.io.IOException
- if the file cannot be parsed.Copyright 2024 PreEmptive Solutions, LLC. All Rights Reserved.