Asterisk-Java

org.asteriskjava.config
Class ConfigFileReader

java.lang.Object
  extended by org.asteriskjava.config.ConfigFileReader

public class ConfigFileReader
extends java.lang.Object

Reads and parses Asterisk configuration files.

See Asterisk's main/config.c.

Client code is not supposed to use this class.

Version:
$Id: ConfigFileReader.java 994 2008-03-09 16:46:56Z srt $
Author:
srt

Constructor Summary
ConfigFileReader()
           
 
Method Summary
protected  java.util.Collection<Category> getCategories()
           
 java.util.Collection<ConfigParseException> getWarnings()
           
 ConfigFile readFile(java.lang.String configfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigFileReader

public ConfigFileReader()
Method Detail

readFile

public ConfigFile readFile(java.lang.String configfile)
                    throws java.io.IOException,
                           ConfigParseException
Throws:
java.io.IOException
ConfigParseException

getCategories

protected java.util.Collection<Category> getCategories()

getWarnings

public java.util.Collection<ConfigParseException> getWarnings()

Asterisk-Java

Copyright © 2004-2008 Stefan Reuter. All Rights Reserved.