de.enough.polish.libraryprocessor
Class LibraryProcessor
java.lang.Object
de.enough.polish.Extension
de.enough.polish.libraryprocessor.LibraryProcessor
public abstract class LibraryProcessor
- extends Extension
Processes binary libraries before they are compiled.
Copyright Enough Software 2009
- Author:
- Robert Virkus, j2mepolish@enough.de
| Methods inherited from class de.enough.polish.Extension |
configure, executeAntTarget, executeAntTarget, finalize, getAntProject, getAutoStartCondition, getEnvironment, getExtensionDefinition, getExtensionSetting, getInstance, getParameterValue, getType, init, initialize, isConditionFulfilled, notifyBuildEnd, notifyBuildStart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibraryProcessor
public LibraryProcessor()
- Creates a new library processor
execute
public void execute(Device device,
Locale locale,
Environment env)
throws BuildException
- Description copied from class:
Extension
- Executes this extension. Not all extension types are executed.
- Specified by:
execute in class Extension
- Parameters:
device - the current devicelocale - the current locale, can be nullenv - the environment/configuration
- Throws:
BuildException - when the execution failed
processLibrary
public abstract void processLibrary(File baseDir,
String[] relativeClassPaths,
Device device,
Locale locale,
Environment env)
throws IOException
- Processes a binary library
- Parameters:
baseDir - the base directoryrelativeClassPaths - an array of paths to class files of that librarydevice - the devicelocale - the current localeenv - the environment
- Throws:
IOException - when processing fails