public void setOptDUpper ( boolean optDUpper ) { checkCanSetDeleteOption ( "-D" ) ; if ( optDLower && optDUpper ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + " -D cannot be used with -d." ) ; } this . optDUpper = optDUpper ; }
Checks whether the - D option should be set and sets it .