|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EmptyAsset> org.jboss.shrinkwrap.api.asset.EmptyAsset
public enum EmptyAsset
Implementation of a Asset
having empty content.
Enum Constant Summary | |
---|---|
INSTANCE
|
Method Summary | |
---|---|
InputStream |
openStream()
Get a input stream for the resource content. |
String |
toString()
|
static EmptyAsset |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EmptyAsset[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EmptyAsset INSTANCE
Method Detail |
---|
public static EmptyAsset[] values()
for (EmptyAsset c : EmptyAsset.values()) System.out.println(c);
public static EmptyAsset valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic InputStream openStream()
Asset
Asset
is to be viewed as a logical path (placeholder/directory) only with no
backing content.
openStream
in interface Asset
InputStream
for each call, or null if this type simply represents a logical path
within an Archive
Asset.openStream()
public String toString()
toString
in class Enum<EmptyAsset>
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |