public enum RuntimeDirs extends java.lang.Enum<RuntimeDirs>
Define application dir structure at runtime
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSET |
static java.lang.String |
CLASSES |
static java.lang.String |
CONF |
static java.lang.String |
LIB |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
classes(App app) |
static java.io.File |
conf(App app) |
static java.io.File |
home(App app) |
static java.io.File |
lib(App app) |
static java.io.File |
resource(App app) |
static java.util.List<java.io.File> |
routes(App app) |
static RuntimeDirs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeDirs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final java.lang.String CONF
public static final java.lang.String ASSET
public static final java.lang.String CLASSES
public static final java.lang.String LIB
public static RuntimeDirs[] values()
for (RuntimeDirs c : RuntimeDirs.values()) System.out.println(c);
public static RuntimeDirs valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.io.File home(App app)
public static java.io.File resource(App app)
public static java.io.File conf(App app)
public static java.util.List<java.io.File> routes(App app)
public static java.io.File classes(App app)
public static java.io.File lib(App app)
Copyright © 2014–2017 ActFramework. All rights reserved.