public class OEMUtil extends Object
Constructor and Description |
---|
OEMUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
clean() |
static String |
formatConfigurationBuffer(ConfigurationBuffer cfgbuf) |
static OEMConfiguration |
getApplicationConfiguration(String[] args,
boolean keepLinkReport,
boolean keepSizeReport,
Logger logger,
PathResolver resolver,
MimeMappings mimeMappings) |
static OEMConfiguration |
getApplicationConfiguration(String[] args,
boolean keepLinkReport,
boolean keepSizeReport,
Logger logger,
PathResolver resolver,
MimeMappings mimeMappings,
boolean processDefaults) |
static ConfigurationBuffer |
getCommandLineConfigurationBuffer(Logger logger,
PathResolver resolver,
String[] args) |
static ConfigurationBuffer |
getCompcConfigurationBuffer(Logger logger,
PathResolver resolver,
String[] args) |
static OEMConfiguration |
getLibraryConfiguration(String[] args,
boolean keepLinkReport,
boolean keepSizeReport,
Logger logger,
PathResolver resolver,
MimeMappings mimeMappings) |
static OEMConfiguration |
getLibraryConfiguration(String[] args,
boolean keepLinkReport,
boolean keepSizeReport,
Logger logger,
PathResolver resolver,
MimeMappings mimeMappings,
boolean processDefaults) |
static Map |
getLicenseMap(ToolsConfiguration configuration) |
static OEMConfiguration |
getLinkerConfiguration(String[] args,
boolean keepLinkReport,
boolean keepSizeReport,
Logger logger,
MimeMappings mimeMappings,
PathResolver resolver,
Configuration c,
Set newLinkerOptions,
Set<String> includes,
Set<String> excludes) |
static Logger |
getLogger(Logger logger,
List<Message> messages) |
static void |
init(Logger logger,
MimeMappings mimeMappings,
ProgressMeter meter,
PathResolver resolver,
CompilerControl cc) |
static String[] |
trim(String[] args,
ConfigurationBuffer cfgbuf,
Set excludes) |
public static final void init(Logger logger, MimeMappings mimeMappings, ProgressMeter meter, PathResolver resolver, CompilerControl cc)
logger
- mimeMappings
- public static final void clean()
public static final OEMConfiguration getApplicationConfiguration(String[] args, boolean keepLinkReport, boolean keepSizeReport, Logger logger, PathResolver resolver, MimeMappings mimeMappings)
args
- logger
- mimeMappings
- public static final OEMConfiguration getApplicationConfiguration(String[] args, boolean keepLinkReport, boolean keepSizeReport, Logger logger, PathResolver resolver, MimeMappings mimeMappings, boolean processDefaults)
args
- logger
- mimeMappings
- processDefaults
- public static final OEMConfiguration getLibraryConfiguration(String[] args, boolean keepLinkReport, boolean keepSizeReport, Logger logger, PathResolver resolver, MimeMappings mimeMappings)
args
- logger
- mimeMappings
- public static final OEMConfiguration getLibraryConfiguration(String[] args, boolean keepLinkReport, boolean keepSizeReport, Logger logger, PathResolver resolver, MimeMappings mimeMappings, boolean processDefaults)
args
- logger
- mimeMappings
- processDefaults
- public static final OEMConfiguration getLinkerConfiguration(String[] args, boolean keepLinkReport, boolean keepSizeReport, Logger logger, MimeMappings mimeMappings, PathResolver resolver, Configuration c, Set newLinkerOptions, Set<String> includes, Set<String> excludes)
args
- logger
- mimeMappings
- public static final ConfigurationBuffer getCommandLineConfigurationBuffer(Logger logger, PathResolver resolver, String[] args)
public static final ConfigurationBuffer getCompcConfigurationBuffer(Logger logger, PathResolver resolver, String[] args)
public static String[] trim(String[] args, ConfigurationBuffer cfgbuf, Set excludes)
public static final String formatConfigurationBuffer(ConfigurationBuffer cfgbuf)
public static final Map getLicenseMap(ToolsConfiguration configuration)
configuration
- Copyright © 2016 The Apache Software Foundation. All rights reserved.