public String single ( final CharSequence name , final String def ) throws IOException { final String value ; final Iterator < String > params = this . param ( name ) . iterator ( ) ; if ( params . hasNext ( ) ) { value = params . next ( ) ; } else { value = def ; } return value ; }
Get single param or default .