public class Metadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_NAME |
static java.lang.String |
APPLICATION_VERSION |
static java.lang.String |
FILENAME |
Constructor and Description |
---|
Metadata(java.io.File file) |
Metadata(java.io.InputStream in) |
Metadata(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key) |
java.lang.String |
getApplicationName() |
java.lang.String |
getApplicationVersion() |
java.lang.String |
getEnvironment() |
java.lang.String |
getRunMode() |
java.util.Set<java.lang.String> |
keySet() |
public static final java.lang.String FILENAME
public static final java.lang.String APPLICATION_VERSION
public static final java.lang.String APPLICATION_NAME
public Metadata(@Nonnull java.lang.String path)
public Metadata(@Nonnull java.io.File file)
public Metadata(@Nonnull java.io.InputStream in)
public java.lang.String getApplicationVersion()
public java.lang.String getEnvironment()
public java.lang.String getRunMode()
public java.lang.String getApplicationName()
public java.lang.String get(@Nonnull java.lang.String key)
@Nonnull public java.util.Set<java.lang.String> keySet()