• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java CmdOption类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中de.tototec.cmdoption.CmdOption的典型用法代码示例。如果您正苦于以下问题:Java CmdOption类的具体用法?Java CmdOption怎么用?Java CmdOption使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

CmdOption类属于de.tototec.cmdoption包,在下文中一共展示了CmdOption类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: setUrlTwo

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "--url-two", args = "URL")
public void setUrlTwo(final URL urlTwo) {
	_urlTwo = urlTwo;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:UrlHandlerTest.java

示例2: setUrlTwo

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "-b", args = "N")
public void setUrlTwo(final Long b) {
	LongConfig.this.b = b;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:LongHandlerTest.java

示例3: setMyEnum

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "--my-enum", args = "ENUM")
public void setMyEnum(final MyEnum myEnum) {
	this.myEnum = myEnum;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:EnumHandlerTest.java

示例4: setUrlTwo

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "-b", args = "N")
public void setUrlTwo(final Byte b) {
	ByteConfig.this.b = b;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:ByteHandlerTest.java

示例5: setString1

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "--string1", args = "string")
public void setString1(final String string) {
	string1 = string;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:StringMethodHandlerTest.java

示例6: setString2

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "--string2", args = { "a", "b" })
public void setString2(final String a, final String b) {
	string2a = a;
	string2b = b;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:6,
代码来源:StringMethodHandlerTest.java

示例7: setString3

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "--string3", args = { "a", "b", "c" })
public void setString3(final String a, final String b, final String c) {
	string3a = a;
	string3b = b;
	string3c = c;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:7,
代码来源:StringMethodHandlerTest.java

示例8: setUrlTwo

点赞 2

import de.tototec.cmdoption.CmdOption; //导入依赖的package包/类
@CmdOption(names = "-b", args = "N")
public void setUrlTwo(final Integer b) {
	IntegerConfig.this.b = b;
}
 

开发者ID:ToToTec,
项目名称:CmdOption,
代码行数:5,
代码来源:IntegerHandlerTest.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)