opendap/src/main/java/opendap/util/iniFile.java
public Enumeration getPropList(String sectionName)
    {

        if(sectionNames == null) {
            System.err.println(errMsg);
            return (null);
        }

        int sectionIndex = 0;

        Enumeration e = sectionNames.elements();

        boolean done = false;
        while(!done && e.hasMoreElements()) {
            String thisName = (String) e.nextElement();
            if(sectionName.equalsIgnoreCase(thisName))
                done = true;
            else
                sectionIndex++;
        }
        if(!done)
            return (null);
        return (((Vector) sectionProperties.elementAt(sectionIndex)).elements());

    }
public Enumeration getPropList(String sectionName)
    {

        if(sectionNames == null) {
            System.err.println(errMsg);
            return (null);
        }

        int sectionIndex = 0;

        Enumeration e = sectionNames.elements();

        boolean done = false;
        while(!done && e.hasMoreElements()) {
            String thisName = (String) e.nextElement();
            if(sectionName.equalsIgnoreCase(thisName))
                done = true;
            else
                sectionIndex++;
        }
        if(!done)
            return (null);
        return (((Vector) sectionProperties.elementAt(sectionIndex)).elements());

    }
public Enumeration getPropList ( String sectionName ) { if ( sectionNames == null ) { System . err . println ( errMsg ) ; return ( null ) ; } int sectionIndex = 0 ; Enumeration e = sectionNames . elements ( ) ; boolean done = false ; while ( ! done && e . hasMoreElements ( ) ) { String thisName = ( String ) e . nextElement ( ) ; if ( sectionName . equalsIgnoreCase ( thisName ) ) done = true ; else sectionIndex ++ ; } if ( ! done ) return ( null ) ; return ( ( ( Vector ) sectionProperties . elementAt ( sectionIndex ) ) . elements ( ) ) ; }
**********************************************************************
Get the list of properties for the section <code>sectionName</code>.

@param sectionName A <code>String</code> containing the name of the
section whose property list is desired.
@return An enumeration of the properties in the <code>sectionName</code>
Returns <code>null</code> if the section name doesn't exist or there are
no properties for the section.
********************************************************************** Get the list of properties for the section <code > sectionName< / code > .