public static enum DocumentationTool.Location extends Enum<DocumentationTool.Location> implements JavaFileManager.Location
DocumentationTool
位置。
StandardLocation
Enum Constant and Description |
---|
DOCLET_PATH
位置搜索的小文档而提供的。
|
DOCUMENTATION_OUTPUT
新文档文件的位置。
|
TAGLET_PATH
位置搜索taglets。
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
获取此位置的名称。
|
boolean |
isOutputLocation()
确定这是否是一个输出位置。
|
static DocumentationTool.Location |
valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static DocumentationTool.Location[] |
values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
public static final DocumentationTool.Location DOCUMENTATION_OUTPUT
public static final DocumentationTool.Location DOCLET_PATH
public static final DocumentationTool.Location TAGLET_PATH
public static DocumentationTool.Location[] values()
对于(documentationtool.location C:documentationtool。位置。values()) 系统,println(C);
public static DocumentationTool.Location valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
public String getName()
JavaFileManager.Location
getName
接口
JavaFileManager.Location
public boolean isOutputLocation()
JavaFileManager.Location
isOutputLocation
接口
JavaFileManager.Location
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.