public class ContextUtil extends ContextAwareBase
Constructor and Description |
---|
ContextUtil(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addFrameworkPackage(java.util.List<java.lang.String> frameworkPackages,
java.lang.String packageName) |
void |
addGroovyPackages(java.util.List<java.lang.String> frameworkPackages) |
void |
addProperties(java.util.Properties props) |
static java.util.Map<java.lang.String,java.lang.String> |
getFilenameCollisionMap(Context context) |
static java.util.Map<java.lang.String,FileNamePattern> |
getFilenamePatternCollisionMap(Context context) |
static java.lang.String |
getLocalHostName() |
java.lang.String |
safelyGetLocalHostName()
Add the local host's name as a property
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public ContextUtil(Context context)
public static java.lang.String getLocalHostName() throws java.net.UnknownHostException, java.net.SocketException
java.net.UnknownHostException
java.net.SocketException
public java.lang.String safelyGetLocalHostName()
public void addProperties(java.util.Properties props)
public static java.util.Map<java.lang.String,java.lang.String> getFilenameCollisionMap(Context context)
public static java.util.Map<java.lang.String,FileNamePattern> getFilenamePatternCollisionMap(Context context)
public void addGroovyPackages(java.util.List<java.lang.String> frameworkPackages)
public void addFrameworkPackage(java.util.List<java.lang.String> frameworkPackages, java.lang.String packageName)
Copyright © 2010 - 2020 Adobe. All Rights Reserved