public void setSpecificDocletOptions(String[][] options) {
		for (int oi = 0; oi < options.length; ++oi) {
			String[] os = options[oi];
			String opt = os[0].toLowerCase();
			if (opt.equals("-charset")) {
				charset = os[1];
			} else if (opt.equals("-noframe")) {
				noframe = true;
			} else if (opt.equals("-dubboconfigpath")) {
				dubboconfigpath = os[1];
			} else if (opt.equals("-springcontextconfigpath")) {
				springcontextconfigpath = os[1];
			} else if (opt.equals("-excludedurlsxpath")) {
				excludedurlsxpath = os[1];
			} else if (opt.equals("-showannotationlist")) {
				showAnnotationList = os[1];
			} else if (opt.equals("-authkeyword")) {
				authKeyword = os[1];
			} else if (opt.equals("-noauthkeyword")) {
				noAuthKeyword = os[1];
			} else if (opt.equals("-systemname")) {
				systemname = os[1];
			} else if (opt.equals("-branchname")) {
				branchname = os[1];
			} else if (opt.equals("-searchengine")) {
				searchengine = os[1];
			} else if (opt.equals("-codeurl")) {
				codeurl = os[1];
			} else if (opt.equals("-buildid")) {
				buildid = os[1];
			} else if (opt.equals("-cmzfieldinclude")) {
				cmzFieldInclude = os[1];
			} else if (opt.equals("-cmzfieldexclude")) {
				cmzFieldExclude = os[1];
			}
		}
		// if branchname is not specified, try to resolve it from codeurl.
		if (StringUtils.isEmpty(branchname) && StringUtils.isNotEmpty(codeurl)) {
			codeurl = StringUtils.removeEnd(codeurl, "/");
			String[] parts = StringUtils.split(codeurl, '/');
			branchname = parts[parts.length - 1];
		}
		if (root.specifiedClasses().length > 0) {
			Map<String, PackageDoc> map = new HashMap<String, PackageDoc>();
			PackageDoc pd;
			ClassDoc[] classes = root.classes();
			for (int i = 0; i < classes.length; i++) {
				pd = classes[i].containingPackage();
				if (!map.containsKey(pd.name())) {
					map.put(pd.name(), pd);
				}
			}
		}
	}
public void setSpecificDocletOptions ( String [ ] [ ] options ) { for ( int oi = 0 ; oi < options . length ; ++ oi ) { String [ ] os = options [ oi ] ; String opt = os [ 0 ] . toLowerCase ( ) ; if ( opt . equals ( "-charset" ) ) { charset = os [ 1 ] ; } else if ( opt . equals ( "-noframe" ) ) { noframe = true ; } else if ( opt . equals ( "-dubboconfigpath" ) ) { dubboconfigpath = os [ 1 ] ; } else if ( opt . equals ( "-springcontextconfigpath" ) ) { springcontextconfigpath = os [ 1 ] ; } else if ( opt . equals ( "-excludedurlsxpath" ) ) { excludedurlsxpath = os [ 1 ] ; } else if ( opt . equals ( "-showannotationlist" ) ) { showAnnotationList = os [ 1 ] ; } else if ( opt . equals ( "-authkeyword" ) ) { authKeyword = os [ 1 ] ; } else if ( opt . equals ( "-noauthkeyword" ) ) { noAuthKeyword = os [ 1 ] ; } else if ( opt . equals ( "-systemname" ) ) { systemname = os [ 1 ] ; } else if ( opt . equals ( "-branchname" ) ) { branchname = os [ 1 ] ; } else if ( opt . equals ( "-searchengine" ) ) { searchengine = os [ 1 ] ; } else if ( opt . equals ( "-codeurl" ) ) { codeurl = os [ 1 ] ; } else if ( opt . equals ( "-buildid" ) ) { buildid = os [ 1 ] ; } else if ( opt . equals ( "-cmzfieldinclude" ) ) { cmzFieldInclude = os [ 1 ] ; } else if ( opt . equals ( "-cmzfieldexclude" ) ) { cmzFieldExclude = os [ 1 ] ; } } if ( StringUtils . isEmpty ( branchname ) && StringUtils . isNotEmpty ( codeurl ) ) { codeurl = StringUtils . removeEnd ( codeurl , "/" ) ; String [ ] parts = StringUtils . split ( codeurl , '/' ) ; branchname = parts [ parts . length - 1 ] ; } if ( root . specifiedClasses ( ) . length > 0 ) { Map < String , PackageDoc > map = new HashMap < String , PackageDoc > ( ) ; PackageDoc pd ; ClassDoc [ ] classes = root . classes ( ) ; for ( int i = 0 ; i < classes . length ; i ++ ) { pd = classes [ i ] . containingPackage ( ) ; if ( ! map . containsKey ( pd . name ( ) ) ) { map . put ( pd . name ( ) , pd ) ; } } } }
Depending upon the command line options provided by the user, set
configure the output generation environment.

@param options
The array of option names and values.