aQute.lib.osgi
Class Processor
java.lang.Object
aQute.lib.osgi.Processor
- All Implemented Interfaces:
- aQute.lib.reporter.Reporter
- Direct Known Subclasses:
- Analyzer, Verifier
public class Processor
- extends java.lang.Object
- implements aQute.lib.reporter.Reporter
Method Summary |
java.util.Map |
analyzeBundleClasspath(Jar dot,
java.util.Map bundleClasspath,
java.util.Map contained,
java.util.Map referred,
java.util.Map uses)
|
void |
error(java.lang.String string)
|
void |
error(java.lang.String string,
java.lang.Throwable t)
|
void |
format(java.io.PrintWriter pw,
java.lang.String header,
java.lang.Object value)
|
java.util.List |
getErrors()
|
static java.io.File |
getFile(java.io.File base,
java.lang.String file)
|
void |
getInfo(aQute.lib.reporter.Reporter processor)
|
java.lang.String |
getPackage(java.lang.String clazz)
|
java.util.List |
getWarnings()
|
boolean |
isPedantic()
|
java.util.Map |
parseHeader(java.lang.String value)
|
static java.util.Map |
parseHeader(java.lang.String value,
Processor logger)
Standard OSGi header parser. |
void |
progress(java.lang.String s)
|
void |
report(java.io.PrintWriter pw)
|
void |
setPedantic(boolean pedantic)
|
void |
warning(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BND_EXTENSION
public static final java.lang.String DEFAULT_BND_EXTENSION
- See Also:
- Constant Field Values
DEFAULT_JAR_EXTENSION
public static final java.lang.String DEFAULT_JAR_EXTENSION
- See Also:
- Constant Field Values
DEFAULT_BAR_EXTENSION
public static final java.lang.String DEFAULT_BAR_EXTENSION
- See Also:
- Constant Field Values
Processor
public Processor()
getInfo
public void getInfo(aQute.lib.reporter.Reporter processor)
warning
public void warning(java.lang.String string)
- Specified by:
warning
in interface aQute.lib.reporter.Reporter
error
public void error(java.lang.String string)
- Specified by:
error
in interface aQute.lib.reporter.Reporter
error
public void error(java.lang.String string,
java.lang.Throwable t)
getWarnings
public java.util.List getWarnings()
- Specified by:
getWarnings
in interface aQute.lib.reporter.Reporter
getErrors
public java.util.List getErrors()
- Specified by:
getErrors
in interface aQute.lib.reporter.Reporter
parseHeader
public java.util.Map parseHeader(java.lang.String value)
parseHeader
public static java.util.Map parseHeader(java.lang.String value,
Processor logger)
- Standard OSGi header parser.
- Parameters:
value
-
- Returns:
analyzeBundleClasspath
public java.util.Map analyzeBundleClasspath(Jar dot,
java.util.Map bundleClasspath,
java.util.Map contained,
java.util.Map referred,
java.util.Map uses)
throws java.io.IOException
- Throws:
java.io.IOException
getPackage
public java.lang.String getPackage(java.lang.String clazz)
progress
public void progress(java.lang.String s)
- Specified by:
progress
in interface aQute.lib.reporter.Reporter
isPedantic
public boolean isPedantic()
- Specified by:
isPedantic
in interface aQute.lib.reporter.Reporter
setPedantic
public void setPedantic(boolean pedantic)
getFile
public static java.io.File getFile(java.io.File base,
java.lang.String file)
report
public void report(java.io.PrintWriter pw)
format
public void format(java.io.PrintWriter pw,
java.lang.String header,
java.lang.Object value)