dap4/d4lib/src/main/java/dap4/dap4lib/HttpDSP.java
static protected String
    buildURL(String baseurl, String suffix, DapDataset template, String ce)
    {
        StringBuilder methodurl = new StringBuilder();
        methodurl.append(baseurl);
        if(suffix != null) {
            methodurl.append('.');
            methodurl.append(suffix);
        }
        if(ce != null && ce.length() > 0) {
            methodurl.append(QUERYSTART);
            methodurl.append(CONSTRAINTTAG);
            methodurl.append('=');
            methodurl.append(ce);
        }
        return methodurl.toString();
    }
static protected String
    buildURL(String baseurl, String suffix, DapDataset template, String ce)
    {
        StringBuilder methodurl = new StringBuilder();
        methodurl.append(baseurl);
        if(suffix != null) {
            methodurl.append('.');
            methodurl.append(suffix);
        }
        if(ce != null && ce.length() > 0) {
            methodurl.append(QUERYSTART);
            methodurl.append(CONSTRAINTTAG);
            methodurl.append('=');
            methodurl.append(ce);
        }
        return methodurl.toString();
    }
static protected String buildURL ( String baseurl , String suffix , DapDataset template , String ce ) { StringBuilder methodurl = new StringBuilder ( ) ; methodurl . append ( baseurl ) ; if ( suffix != null ) { methodurl . append ( ' ' ) ; methodurl . append ( suffix ) ; } if ( ce != null && ce . length ( ) > 0 ) { methodurl . append ( QUERYSTART ) ; methodurl . append ( CONSTRAINTTAG ) ; methodurl . append ( ' ' ) ; methodurl . append ( ce ) ; } return methodurl . toString ( ) ; }
Utilities
Utilities