org.ini4j.spi
Class OptionsParser

Object
  extended by org.ini4j.spi.OptionsParser

public class OptionsParser
extends Object


Constructor Summary
OptionsParser()
           
 
Method Summary
protected  Config getConfig()
           
static OptionsParser newInstance()
           
static OptionsParser newInstance(Config config)
           
 void parse(InputStream input, OptionsHandler handler)
           
 void parse(Reader input, OptionsHandler handler)
           
 void parse(URL input, OptionsHandler handler)
           
protected  void parseError(String line, int lineNumber)
           
protected  void setConfig(Config value)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionsParser

public OptionsParser()
Method Detail

newInstance

public static OptionsParser newInstance()

newInstance

public static OptionsParser newInstance(Config config)

parse

public void parse(InputStream input,
                  OptionsHandler handler)
           throws IOException,
                  InvalidFileFormatException
Throws:
IOException
InvalidFileFormatException

parse

public void parse(Reader input,
                  OptionsHandler handler)
           throws IOException,
                  InvalidFileFormatException
Throws:
IOException
InvalidFileFormatException

parse

public void parse(URL input,
                  OptionsHandler handler)
           throws IOException,
                  InvalidFileFormatException
Throws:
IOException
InvalidFileFormatException

getConfig

protected Config getConfig()

setConfig

protected void setConfig(Config value)

parseError

protected void parseError(String line,
                          int lineNumber)
                   throws InvalidFileFormatException
Throws:
InvalidFileFormatException


Copyright © 2011. All Rights Reserved.