Modifier and Type | Class and Description |
---|---|
static class |
Jars.F.JarEntryVisitor |
Modifier and Type | Method and Description |
---|---|
static Jars.F.JarEntryVisitor |
appConfigFileIndexBuilder(java.util.Map<java.lang.String,java.util.Properties> map)
Visit properties files in Jar file and add the file content to map indexed by env tag.
|
static Jars.F.JarEntryVisitor |
classNameIndexBuilder(java.util.Map<java.lang.String,byte[]> map,
org.osgl.Osgl.Function<java.lang.String,java.lang.Boolean> ignoredClassNames) |
static Jars.F |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Jars.F[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Jars.F[] values()
for (Jars.F c : Jars.F.values()) System.out.println(c);
public static Jars.F 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 Jars.F.JarEntryVisitor classNameIndexBuilder(java.util.Map<java.lang.String,byte[]> map, org.osgl.Osgl.Function<java.lang.String,java.lang.Boolean> ignoredClassNames)
public static Jars.F.JarEntryVisitor appConfigFileIndexBuilder(java.util.Map<java.lang.String,java.util.Properties> map)
Visit properties files in Jar file and add the file content to map indexed by env tag. For example, a jar entry named “conf/dev/abc.properties”, the content will be loaded into a properties instance and then put into an existing properties indexed by “dev” tag. If no env tag found then the properties will be loaded into a properties instance indexed by “common”
map
- the map stores the properties mapped to a configure tag (e.g. common, dev, uat etc)Copyright © 2014–2017 ActFramework. All rights reserved.