public class PGEConfigFileReader extends Object
A Reader for reading the constructs defined in a PGEConfigurationFile.
The constructs are read and a new PGEConfigurationFile object is
constructed and returned.
| Constructor and Description |
|---|
PGEConfigFileReader()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PGEConfigurationFile |
read(InputStream is)
Reads a PGEConfigurationFile from the specified
is
InputStream. |
PGEConfigurationFile |
read(URL url)
Reads the PGE Configuration file from the given
url. |
public PGEConfigurationFile read(URL url) throws PGEConfigFileException
Reads the PGE Configuration file from the given url.
url - The URL pointer to the pge configuration file.PGEConfigurationFile object, created from the
specified URL.PGEConfigFileException - If there is an error reading the url.public PGEConfigurationFile read(InputStream is) throws PGEConfigFileException
Reads a PGEConfigurationFile from the specified is
InputStream.
is - The InputStream to read the PGEConfigurationFile from.PGEConfigurationFile, created from the specified
InputStream.PGEConfigFileException - If any error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.