preverifiertype.java
来自「MoMEUnit是一个单元测试的J2ME的应用程序xUnit架构实例。这是来自J」· Java 代码 · 共 51 行
JAVA
51 行
package org.momeunit.ant.taskdefs;import org.momeunit.ant.core.EnumType;/** * Class that represents type of preverifier. Contains method * {@link #getClassName()} for accessing classname of this preverifier. * * @author Sergio Morozov. * @version 1.1.2 */public class PreverifierType extends EnumType{ private static final String[] VALUES = { "sun" }; private static final String[] CLASSNAMES = { "org.momeunit.ant.preverifier.SunPreverifier" }; /** * Instantiates PreverifierType initialized with given value. * * @param value * String value PreverifierType to be initialized with. * @since 1.1.2 */ public PreverifierType(String value) { super(value); } /* * (non-Javadoc) * * @see org.apache.tools.ant.types.EnumeratedAttribute#getValues() */ protected String[] getValues() { return VALUES; } /** * Returns classname associated with this type. * * @return classname associated with this type. * @since 1.1.2 */ public String getClassName() { return CLASSNAMES[this.getIndex()]; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?