opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java
public int
    ddsparse(String text, DDS dds) throws ParseException
    {
        return dapparse(text, dds, null, null);
    }
public int
    ddsparse(String text, DDS dds) throws ParseException
    {
        return dapparse(text, dds, null, null);
    }
public int ddsparse ( String text , DDS dds ) throws ParseException { return dapparse ( text , dds , null , null ) ; }
Call this to parse a DDS
Call this to parse a DDS