Section.java

/**
 * Section.java
 * Implements the abstraction of a section of an INI file
 *
 * Created: Sun Oct 24 23:38:48 1999
 *
 * @author David Green
 * @version
 */

abstract public class Section  {

    protected String section_name;
    
    protected String type;
    
    public Section(String sect_name) {
        section_name = sect_name;
    }

    /**
     * feed another line to section parser
     */
    abstract boolean addLine( String line );
    
    /**
     * Get the value of type.
     * @return Value of type.
     */

    // bug: does not handle comments inside a glob
    public String getType() {return type;}
    
    
} // Section

Generated by GNU enscript 1.6.1.