锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲色爱图小说专区,久久久久亚洲精品无码蜜桃,亚洲国产成人久久三区http://www.tkk7.com/51AOP/category/9900.html鍏蟲敞SoA鍙戝睍zh-cnWed, 28 Feb 2007 05:36:56 GMTWed, 28 Feb 2007 05:36:56 GMT60CSS framework 鏀墮泦http://www.tkk7.com/51AOP/articles/46446.html鍐伴洦鍐伴洦Tue, 16 May 2006 09:45:00 GMThttp://www.tkk7.com/51AOP/articles/46446.htmlhttp://www.tkk7.com/51AOP/comments/46446.htmlhttp://www.tkk7.com/51AOP/articles/46446.html#Feedback0http://www.tkk7.com/51AOP/comments/commentRss/46446.htmlhttp://www.tkk7.com/51AOP/services/trackbacks/46446.htmlMollio錛?a >http://developer.yahoo.com/yui/鍑哄搧錛屾垜鐪嬬殑鏃跺欐湁6涓熀鏈竷灞錛屾彁鍊℃爣鍑嗐?/p>

YUI錛屽紑鍙戜笉鏂紝鐜板湪宸茬粡鍦ㄥ叾涓坊鍔犱簡css甯冨眬鐨勪竴涓猯ib

style錛岃佸浼欎簡錛屽唴瀹瑰緢澶氾紝涓嶄粎浠呮槸甯冨眬錛屾嵁璇翠粈涔堢綉绔欏彧瑕佹斁涓婅繖涓氨浼氭紓浜澶氾紝鍛靛懙銆?/p>


褰撶劧鍏朵粬鐨勬湁寰堝錛岃繖鍑犱釜鍙槸鎴戞帴瑙﹀埌鐨勶紝嬈㈣繋澶у娣誨姞鍝︺?/p>



鍐伴洦 2006-05-16 17:45 鍙戣〃璇勮
]]>
Spring IDE Guide http://www.tkk7.com/51AOP/articles/43029.html鍐伴洦鍐伴洦Tue, 25 Apr 2006 07:10:00 GMThttp://www.tkk7.com/51AOP/articles/43029.htmlhttp://www.tkk7.com/51AOP/comments/43029.htmlhttp://www.tkk7.com/51AOP/articles/43029.html#Feedback0http://www.tkk7.com/51AOP/comments/commentRss/43029.htmlhttp://www.tkk7.com/51AOP/services/trackbacks/43029.htmlSpring IDE Guide

From: http://springide.org/project/wiki/SpringideGuide

To start working with Spring IDE you need a SpringProject. A SpringProject can be created by adding the SpringProjectNature to an existing project or by creating a new Spring project with the SpringProjectWizard.

Add SpringProject nature

  • select open project nodes in Eclipse resource navigator or JDT package explorer
  • activate context menu item "Add Spring Project Nature" on selected projects

added screenshoot

  • once the nature is added, these projects are now decorated with a small 'S' in the upper right corner (overwriting other decorators, e.g. Java project decorator 'J')

added screenshoot

  • to remove the nature, right click the project and select "Remove Spring Project Nature"

See also: SpringProject, SpringProjectNature

Create new SpringProject

  • open the wizard selection dialog via the menu "File / New / Project..."

Screenshoot of wizard selection dialog

  • select the wizard "Spring IDE / New Spring Project"

Screenshoot of Spring project wizard

  • enter the project name
  • (optionally) modify the comma-separated list of supported BeansConfig file extensions (default is "xml")
  • if you don't need a Java project then deselect the checkbox "Create a Java project"
  • for a Java project you can change the project's settings (source / classes folder, classpath, libraries, ...) on the next dialog page

See also: SpringProject

Add references to other Spring projects (optional)

  • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
  • select the properties page "Project References" from the list on the left side
  • enable all Spring project(s) containing Spring Beans config files which are referenced from within this project via Spring Beans config sets (defined later on)

added screenshoot


See also: BeansConfig, BeansConfigSet

Add Spring BeansConfig files

  • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
  • select the properties page "Spring Beans" from the list on the left side

Spring project properties dialog with BeansConfig tab

  • (optionally) modify the comma-separated list of supported BeansConfig file extensions (default is "xml")
  • use the button "Add..." to open a selector dialog providing a list of all files with the specified extensions in your Spring project and select the corresponding Spring BeansConfig files

Spring project properties dialog with Add BeansConfig dialog

  • once the config files are selected the corresponding files are decorated with a small 'S' in Eclipse resource navigator or JDT package explorer

Package explorer with decorated BeansConfig files


See also: BeansProjectProperties?, BeansConfig

Create Spring BeansConfig file sets (optional)

  • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
  • select the properties page "Spring Beans" from the list on the left side
  • select the second tab labeled "Config Sets"

Spring project properties dialog with BeansConfigSet tab

  • use the button "New..." to open a dialog for creating a new config set with a selection of all config files (added in the previous step) belonging to this config set
    • define a unique name for the config set
    • activate the checkbox "Enable bean override" if multiple beans with the same ID should be overidden by the last bean (used by the BeansConfigValidator only -> if activated then bean overriding is not treated as validation error)
    • activate the checkbox "Is incomplete" if this config set does not contain all beans which are referenced by other beans defined in this config set (used by the BeansConfigValidator only -> if activated then unresolved bean references are not treated as validation errors)
    • externally defined config files (as described in section "Add references to other Spring projects") are decorated with a small blue arrow)

Create new BeansConfigSet dialog

  • use the buttons "Move Up" and "Move Down" to change the order of the config files within the config set (important for bean overriding)

Spring project properties dialog with BeansConfigSet tab


See also: BeansConfig, BeansConfigSet, BeansConfigValidator

Open Spring BeansView

  • select from within any of the added Spring BeansConfig files opened in an Eclipse editor the menu item "Navigate/Show In/Spring Beans"

added screen shoot

  • once the menu item is selected the Spring BeansView is opened and the corresponding Spring BeansConfig file is selected in the view's model

Editor and Beans View

  • double-clicking on certain entries in the Spring BeansView (bean, property or constructor argument) navigates to the corresponding location in the config file
  • by selecting the corresponding toolbar actions the BeansView supports alphabetical sorting and syncing with the BeansXmlEditor

See also: BeansView, BeansConfig, BeansXmlEditor

Validate Spring BeansConfig file

  • after modifying and saving any of the added Spring BeansConfig files from within an open Eclipse editor this config is automatically validated by Spring IDE
  • for any error occured during validation a problem marker is created and listed in Eclipse's problem view

Editor with problem markers and problem view


See also: BeansConfig, BeansConfigValidator

Open Spring BeansGraph

  • right-clicking on certain entries in the Spring BeansView (config, config set or bean) opens a read-only editor showing a graph with all beans referenced by the selected view entry

BeansGraph with outline view


See also: BeansView, BeansConfig, BeansConfigSet, BeansGraph

Search for Spring Beans

  • open the search dialog via the "Search / Search..." menu
  • select the tab "Spring Beans Search" to switch to the BeansSearch dialog

Screenshoot of Spring Beans search dialog


See also: BeansSearch

Attachments



鍐伴洦 2006-04-25 15:10 鍙戣〃璇勮
]]>
鍦╪etbeans 涓嬌鐢?svn, http://www.tkk7.com/51AOP/articles/41841.html鍐伴洦鍐伴洦Wed, 19 Apr 2006 03:20:00 GMThttp://www.tkk7.com/51AOP/articles/41841.htmlhttp://www.tkk7.com/51AOP/comments/41841.htmlhttp://www.tkk7.com/51AOP/articles/41841.html#Feedback0http://www.tkk7.com/51AOP/comments/commentRss/41841.htmlhttp://www.tkk7.com/51AOP/services/trackbacks/41841.html
璇風偣鍑誨涓嬭繛鎺?br />http://blog.matrix.org.cn/page/icess?entry=subversion_d

鍐伴洦 2006-04-19 11:20 鍙戣〃璇勮
]]>
鐢?Eclipse銆乄TP 鍜?Derby 鏋勫緩 Web 搴旂敤紼嬪簭http://www.tkk7.com/51AOP/articles/41618.html鍐伴洦鍐伴洦Tue, 18 Apr 2006 04:03:00 GMThttp://www.tkk7.com/51AOP/articles/41618.htmlhttp://www.tkk7.com/51AOP/comments/41618.htmlhttp://www.tkk7.com/51AOP/articles/41618.html#Feedback0http://www.tkk7.com/51AOP/comments/commentRss/41618.htmlhttp://www.tkk7.com/51AOP/services/trackbacks/41618.html浠婂ぉ鍦↖BM涓婃壘鍒頒竴綃囧叧浜?Derby鐨勬枃绔?鍒嗕韓涓涓?

浣跨敤 Eclipse銆乄eb Tools Platform (WTP) for Eclipse銆丏erby 鍜?Jakarta-Tomcat 鏋勫緩鍔ㄦ?Web 搴旂敤紼嬪簭鏄歡寰堝鏄撶殑浜嬨傛湰鏂囧皢甯︽偍瀛︿範濡備綍瀹夎鍜岄厤緗墍鏈夎繖浜涘繀闇鐨勫紑鏀炬簮鐮佺粍浠訛紝騫朵嬌鐢?JSP 鍜?servlet 鏋勫緩涓涓畬鏁寸殑鐢ㄤ簬鍚?Derby 鏁版嵁搴撳瓨鍌ㄥ拰鑾峰彇淇℃伅鐨?Web 搴旂敤紼嬪簭銆?br />
璇︾粏鎯呭喌鐐瑰嚮 榪炴帴: http://www-128.ibm.com/developerworks/cn/db2/library/techarticles/dm-0501roux/index.html



鍐伴洦 2006-04-18 12:03 鍙戣〃璇勮
]]>
Args4J (Java 鍛戒護琛屽弬鏁版帶鍒跺紑婧愰」鐩? 浣跨敤鎸囧崡 http://www.tkk7.com/51AOP/articles/40650.html鍐伴洦鍐伴洦Wed, 12 Apr 2006 06:27:00 GMThttp://www.tkk7.com/51AOP/articles/40650.htmlhttp://www.tkk7.com/51AOP/comments/40650.htmlhttp://www.tkk7.com/51AOP/articles/40650.html#Feedback0http://www.tkk7.com/51AOP/comments/commentRss/40650.htmlhttp://www.tkk7.com/51AOP/services/trackbacks/40650.html Args4J 浣跨敤鎸囧崡




Args4J
鏄竴涓敤鏉ュ嚭鏉ュ懡浠よ鐨勫伐鍏?

鍦ㄥ疄闄呯殑欏圭洰涓敤鍒板懡浠よ鐨勫茍涓嶆槸寰堝父瑙?浣嗗綋鐪熸浣跨敤鍒版椂,鐗瑰埆鏄湪紼嬪簭鍚姩鏃墮厤緗竴涓嬪弬鏁扮殑鏃跺欏氨寰堟湁鐢ㄤ簡,濡傛灉鍙傛暟寰堝鐨勮瘽,涓涓竴涓В鏋愬懡浠よ榪樻槸姣旇緝楹葷儲鐨?榪欐椂浣跨敤Args4J灝辯浉褰撳ソ鍔炰簡. 鍦ㄦ湰鏂囦腑鎴戜滑鏉ョ湅鐪婣rgs4J鐨勪嬌鐢?褰撻渶瑕佹椂鑳芥彁渚涗竴涓В鍐蟲柟妗?

Args4J浣跨敤涓涓縐頒負Option綾葷殑綾繪潵淇濆瓨杈撳叆鐨勫弬鏁?璁╁悗鏍規嵁璇ョ被鏉ュ簲鐢ㄥ弬鏁?姣忎釜鍙傛暟鍙互瀵瑰簲涓涓被涓殑灞炴?璇ュ睘鎬х敤Annotation娉ㄩ噴,鍦ˋnnotation涓粰鍑鴻鍙傛暟 鐨勯夐」, 榪樺彲浠ラ厤緗叾浠栨湁鐢ㄧ殑淇℃伅.璇nnotation灝辨槸 Option 娉ㄨВ: 璇ユ敞瑙g殑doc濡備笅:

Marks a field/setter that receives a command line switch value.

This annotation can be placed on a field of type T or the method of the form void methodName(T value). Its access modified can be anything, but if it's not public, your application needs to run in a security context that allows args4j to access the field/method (see AccessibleObject.setAccessible(boolean).

The behavior of the annotation differs depending on T --- the type of the field or the parameter of the method.

Boolean Switch

When T is boolean , it represents a boolean option that takes the form of "-OPT". When this option is set, the property will be set to true.

String Switch

When T is String, it represents an option that takes one operand. The value of the operand is set to the property.

Enum Switch

When T is derived from Enum, it represents an option that takes an operand, which must be one of the enum constant. The comparion between the operand and the enum constant name is done in a case insensitive fashion.

For example, the following definition will represent command line options like "-coin penny" or "-coin DIME" but things like "-coin" or "-coin abc" are errors.

 enum Coin { PENNY,NICKEL,DIME,QUARTER }

 class Option {
   @Option(name="-coin")
   public Coin coin;
 }
 

File Switch

When T is a File, it represents an option that takes a file/directory name as an operand.

璇ユ敞瑙f湁5鍚勫煙 鍏朵腑name鏄繀欏葷殑,鍏朵粬鍥涗釜鏄彲閫夌殑.濡備笅鎵紺?鍏充簬璇ユ敞瑙g殑璇︾粏Doc璇鋒煡鐪?鍏禿ocs.

Required Element Summary
String name
聽聽聽聽聽聽聽聽聽聽Name of the option, such as "-foo" or "-bar".
Optional Element Summary
Class<? extends OptionHandler>handler
聽聽聽聽聽聽聽聽聽聽Specify the OptionHandler that processes the command line arguments.
StringmetaVar
聽聽聽聽聽聽聽聽聽聽When the option takes an operand, the usage screen will show something like this:
聽booleanrequired
聽聽聽聽聽聽聽聽聽聽Specify that the option is mandatory.
Stringusage
聽聽聽聽聽聽聽聽聽聽Help string used to display the usage screen.

褰撳懡浠よ璁懼畾鍚?鍏朵嬌鐢ㄦ柟寮忓拰java 鍛戒護閲岄潰鐨勫弬鏁頒嬌鐢ㄦ柟寮忎竴鏍?濡?java -cp ./calssPath/.......

涓嬮潰閫氳繃涓涓緥瀛愭潵瑙i噴:

001/*
002*聽Created聽on聽2006-2-21
003*聽@author聽icerain
004*/
005package聽test.args4j;
006
007import聽org.kohsuke.args4j.Argument;
008import聽org.kohsuke.args4j.CmdLineException;
009import聽org.kohsuke.args4j.CmdLineParser;
010import聽org.kohsuke.args4j.ExampleMode;
011import聽org.kohsuke.args4j.Option;
012import聽org.kohsuke.args4j.spi.BooleanOptionHandler;
013
014import聽java.io.File;
015import聽java.io.IOException;
016import聽java.util.ArrayList;
017import聽java.util.List;
018
019public聽class聽TestArgs4J聽{
020聽聽//聽鍒╃敤Option娉ㄨВ鏉ュ畾涔変竴涓猙oolean聽鍛戒護琛屽弬鏁奧犲叾鍙傛暟name涓郝?re聽,required鎸囧畾璇ュ弬鏁版槸蹇呴』鐨?/font>
021聽聽@Option(name聽=聽"-re",聽usage聽=聽"recursively聽run聽something",聽required聽=聽true)
022聽聽private聽boolean聽recursive;
023
024聽聽//鍒╃敤Option娉ㄨВ瀹氫箟涓涓狥ile聽鍛戒護琛屽弬鏁?聽name涓?o,聽杈撳叆鏃跺欑煡閬撹file鐨勮礬寰勫氨鍙互浜?/font>
025聽聽//metaVar聽鐢ㄦ潵璁懼畾鏄劇ず聽浣跨敤鏂瑰紡鏃跺欑殑杈撳嚭,榪欎釜杈撳嚭涓?o聽OUTPUT聽:聽output聽to聽this聽file
026聽聽//濡傛灉涓嶆寚瀹氳灞炴犲垯浣跨敤榛樿鐨勪唬鏇柯犱負-o聽FILE聽:聽output聽to聽this聽file
027聽聽@Option(name聽=聽"-o",聽usage聽=聽"output聽to聽this聽file",聽metaVar聽=聽"OUTPUT")
028聽聽private聽File聽out聽=聽new聽File(".");
029
030聽聽//If聽'usage'聽value聽is聽empty,聽the聽option聽will聽not聽be聽displayed
031聽聽聽聽//聽in聽the聽usage聽screen.
032聽聽//娉ㄦ剰璇ュ娌℃湁鎸囧畾聽usage聽灞炴犳垨鑰呮寚瀹歶sage聽浣嗘槸鍏跺間負絀虹殑聽濡倁sage聽=聽"",榪欐牱褰撲嬌鐢?/font>
033聽聽//parser.printExample(ExampleMode.ALL)聽璇鋒敞鎰忎笅闈㈢92琛岀殑杈撳嚭
034聽聽@Option(name聽=聽"-str",聽required聽=聽true)
035聽聽//@Option(name聽=聽"-str",聽usage聽=聽"嫻嬭瘯",聽required聽=聽true)聽聽//聽璇ヨ聽-str鍙傛暟鏈夌敤
036聽聽//聽no聽usage
037聽聽
038聽聽private聽String聽str聽=聽"(default聽value)";
039
040聽聽//聽鏁存暟鍙傛暟
041聽聽@Option(name聽=聽"-n",聽usage聽=聽"repeat聽<n>聽times\nusage聽can聽have聽new聽lines聽in聽it聽and聽also聽it聽can聽be聽verrry聽long")
042聽聽private聽int聽num聽=聽-1;
043
044聽聽//聽using聽'handler=...'聽allows聽you聽to聽specify聽a聽custom聽OptionHandler
045聽聽//聽implementation聽class.聽This聽allows聽you聽to聽bind聽a聽standard聽Java聽type
046聽聽//聽with聽a聽non-standard聽option聽syntax
047聽聽//鎸囧畾涓涓壒瀹氱殑handler聽
048聽聽@Option(name聽=聽"-custom",聽handler=BooleanOptionHandler.class,usage="boolean聽value聽for聽checking聽the聽custom聽handler")
049聽聽private聽boolean聽data;
050
051聽聽//聽receives聽other聽command聽line聽parameters聽than聽options
052聽聽@Argument
053聽聽private聽List<String>聽arguments聽=聽new聽ArrayList<String>();
054
055聽聽public聽static聽void聽main(String[]聽args)聽throws聽IOException聽{
056聽聽聽聽new聽TestArgs4J().doMain(args);
057聽聽}
058
059聽聽public聽void聽doMain(String[]聽args)聽throws聽IOException聽{
060聽聽聽聽//Creates聽a聽new聽command聽line聽owner聽that聽parses聽arguments/options

聽聽聽聽聽聽聽聽聽聽聽聽聽and聽set聽them聽into聽the聽given聽object.

061聽聽聽聽CmdLineParser聽parser聽=聽new聽CmdLineParser(this);
062
063聽聽聽聽try聽{
064聽聽聽聽聽聽//聽parse聽the聽arguments.
065聽聽聽聽聽聽parser.parseArgument(args);
066
067聽聽聽聽聽聽//聽you聽can聽parse聽additional聽arguments聽if聽you聽want.
068聽聽聽聽聽聽//聽parser.parseArgument("more","args");
069
070聽聽聽聽聽聽//聽after聽parsing聽arguments,聽you聽should聽check
071聽聽聽聽聽聽//聽if聽enough聽arguments聽are聽given.
072聽聽聽聽聽聽if聽(arguments.isEmpty())
073聽聽聽聽聽聽聽聽throw聽new聽CmdLineException("No聽argument聽is聽given");
074
075聽聽聽聽}聽catch聽(CmdLineException聽e)聽{
076聽聽聽聽聽聽//聽if聽there's聽a聽problem聽in聽the聽command聽line,
077聽聽聽聽聽聽//聽you'll聽get聽this聽exception.聽this聽will聽report
078聽聽聽聽聽聽//聽an聽error聽message.
079聽聽聽聽聽聽System.err.println(e.getMessage());聽聽//鎵撳嵃鍑洪敊娑堟伅
080聽聽聽聽聽聽System.err.println("java聽SampleMain聽[options...]聽arguments...");
081聽聽聽聽聽聽//聽print聽the聽list聽of聽available聽options
082聽聽聽聽聽聽parser.printUsage(System.err);聽聽//聽鎵撳嵃鍙傛暟鐨勭敤娉?/font>
083聽聽聽聽聽聽System.err.println();
084
085聽聽聽聽聽聽System.err.println("嫻嬭瘯!!!!!");
086聽聽聽聽聽聽//聽print聽option聽sample.聽This聽is聽useful聽some聽time
087聽聽聽聽聽聽System.err.println("聽聽Example:聽java聽SampleMain"
088聽聽聽聽聽聽聽聽聽聽+聽parser.printExample(ExampleMode.ALL));聽聽聽聽聽聽聽

// 娉ㄦ剰 鍦∣ption涓鏋滄病鏈夋寚瀹?usage 灞炴?

089聽聽聽聽聽聽System.err.println("/n聽2.........");聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽

//
鍒欒繖涓よ紼嬪簭涓嶄細杈撳嚭璇ュ弬鏁扮殑浣跨敤鐨?/font>
090
091聽聽聽聽聽聽System.err.println("聽2聽Example2:聽java聽SampleMain"聽

//
娉ㄦ剰 鍦∣ption涓鏋滄病鏈夋寚瀹?usage 灞炴?
092聽聽聽聽聽聽聽聽聽聽+聽parser.printExample(ExampleMode.REQUIRED));聽聽

//
鍒欒繖涓よ紼嬪簭涓嶄細杈撳嚭璇ュ弬鏁扮殑浣跨敤鐨?/font>
093聽聽聽聽聽聽return;
094聽聽聽聽}
095
096聽聽聽聽//聽this聽will聽redirect聽the聽output聽to聽the聽specified聽output
097聽聽聽聽System.out.println(out);
098
099聽聽聽聽if聽(recursive)
100聽聽聽聽聽聽System.out.println("-r聽flag聽is聽set");
101
102聽聽聽聽if聽(data)
103聽聽聽聽聽聽System.out.println("-custom聽flag聽is聽set");
104
105聽聽聽聽System.out.println("-str聽was聽"聽+聽str);
106
107聽聽聽聽if聽(num聽>=聽0)
108聽聽聽聽聽聽System.out.println("-n聽was聽"聽+聽num);
109
110聽聽聽聽//聽access聽non-option聽arguments
111聽聽聽聽System.out.println("other聽arguments聽are:");
112聽聽聽聽for聽(String聽s聽:聽arguments)
113聽聽聽聽聽聽System.out.println(s);
114聽聽}
115
116}

褰撲笉浣跨敤鍛戒護琛屾椂鍊?杈撳叆淇℃伅濡備笅:

Option "-re" is required

java SampleMain [options...] arguments...

-custom : boolean value for checking the custom handler

-n N : repeat <n> times

usage can have new lines in it and also it can be verrrrrrr

rrrrrrrrrrry long

-o OUTPUT : output to this file

-re : recursively run something

嫻嬭瘯!!!!!

Example: java SampleMain -custom -n N -o OUTPUT -re聽聽

// 娉ㄦ剰璇ュ娌℃湁 -str鐨勫嚭鐜?/b>

/n 2.........

2 Example2: java SampleMain -re

// 娉ㄦ剰璇ュ娌℃湁 -str鐨勫嚭鐜?/b>

褰撲嬌鐢?-re 涓哄懡浠よ杈撳叆鏃?杈撳嚭濡備笅:// 鍚庝負浣滆呭姞鐨勬敞閲?涓嶆槸杈撳嚭

Option "-str" is required聽

//涔熻鎸囧畾-str璇ュ弬鏁?

java SampleMain [options...] arguments...

-custom : boolean value for checking the custom handler

-n N : repeat <n> times

usage can have new lines in it and also it can be verrrrrrr

rrrrrrrrrrry long

-o OUTPUT : output to this file

-re : recursively run something

嫻嬭瘯!!!!!

Example: java SampleMain -custom -n N -o OUTPUT -re

/n 2.........

2 Example2: java SampleMain -re

褰撲嬌鐢?re -str some 涓哄懡浠よ杈撳叆鏃?緇撴灉濡備笅:榪欐槸鐢變簬鐨?3 琛岀殑鍒ゆ柇寮曡搗鐨?/p>

No argument is given

java SampleMain [options...] arguments...

-custom : boolean value for checking the custom handler

-n N : repeat <n> times

usage can have new lines in it and also it can be verrrrrrr

rrrrrrrrrrry long

-o OUTPUT : output to this file

-re : recursively run something

嫻嬭瘯!!!!!

Example: java SampleMain -custom -n N -o OUTPUT -re

/n 2.........

2 Example2: java SampleMain -re

浣跨敤-custom -n 2 -re -str some otherstring 涓哄懡浠よ杈撳叆鏃剁殑 緇撴灉濡備笅:

.聽聽聽 // file

-r flag is set

-custom flag is set

-str was some

-n was 2

other arguments are:

otherstring

褰撲嬌鐢?custom -n 2 -re -str some -o log.txt otherstring 鏃跺欑殑杈撳嚭濡備笅:

log.txt

-r flag is set

-custom flag is set

-str was some

-n was 2

other arguments are:

otherstring

褰撲嬌鐢ㄤ竴涓笉瀛樺湪鐨勫弬鏁版椂鍊?浼氭湁Exception鐨?渚嬪:-custom -ee 2 -re -str some -o log.txt otherstring

鍏朵腑-ee鍙傛暟涓嶅瓨鍦?緇撴灉濡備笅:

"-ee" is not a valid option

java SampleMain [options...] arguments...

-custom : boolean value for checking the custom handler

-n N : repeat <n> times

......

鐢變互涓婄殑瀹炰緥鍙互鐪嬪嚭 args4J 鍙栧緱鍛戒護琛岀殑杈撳叆鍙傛暟,鐒跺悗鏍規嵁淇濆瓨鍙傛暟鐨勭被涓殑灞炴х被鍨嬫瘮杈?br />聽
騫惰漿鎹負閫傚綋鐨勫? 鐒跺悗鎴戜滑鍙互浣跨敤榪欎簺灞炴т簡,榪欐牱灝卞厤鍘諱簡鑷繁鍒ゆ柇args 鐨勯夯鐑︿簡,

褰撻粯璁ょ殑Handler涓嶆弧瓚充綘鐨勮姹傛椂 鍙互鑷繁鎵╁睍Handler瀹炵幇,鍏充簬榪欑偣璇峰弬鑰傾rgs4J鐨勬祴璇曠敤渚?

From : java 鐖卞ソ鑰?/a>聽 by : icess



鍐伴洦 2006-04-12 14:27 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 黄网站色在线视频免费观看| 无码国产精品一区二区免费式芒果 | 亚洲午夜成人精品无码色欲| 真人做人试看60分钟免费视频 | 亚洲一本之道高清乱码| 久久久久久夜精品精品免费啦 | 亚洲日本人成中文字幕| 欧美在线看片A免费观看| 亚洲国产成人精品青青草原| 国产啪精品视频网免费| 亚洲欧洲另类春色校园网站| 成年女人视频网站免费m| 亚洲最大天堂无码精品区| 免费黄色一级毛片| 男女交性无遮挡免费视频| 亚洲综合国产精品第一页| 青青操在线免费观看| 亚洲最大成人网色| 丁香花免费高清视频完整版| 亚洲av永久无码| 亚洲偷自拍拍综合网| 国产高清不卡免费视频| 亚洲无砖砖区免费| 日韩在线天堂免费观看 | 农村寡妇一级毛片免费看视频| 久久精品国产亚洲5555| 久久久久高潮毛片免费全部播放| 亚洲妇女水蜜桃av网网站| 精品国产免费一区二区| 51午夜精品免费视频| 91精品国产亚洲爽啪在线观看| 毛片a级三毛片免费播放| 国产高潮流白浆喷水免费A片 | 亚洲国产精品婷婷久久| 成人免费无码大片a毛片| 国产精品无码免费专区午夜 | 亚洲AV男人的天堂在线观看| 免费a级毛片网站| 99国产精品免费视频观看| 亚洲第一成年免费网站| 久久91亚洲人成电影网站|