|
ch.jm.osgi.util.bundle 1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.jm.osgi.util.bundle.WarProcessor
public class WarProcessor
The class facilitates the processing of a whole WAR file for dependency analysis.
Constructor Summary | |
---|---|
WarProcessor(java.io.File warFile)
Creates a new WAR processor. |
Method Summary | |
---|---|
void |
analyze(DependencyAnalyzer analyzer)
Analyues the WAR file with the given DependencyAnalyzer . |
void |
close()
Closes the WAR file, disposes of temporary files. |
java.util.Collection<java.lang.String> |
getWarClasspath()
Returns the WAR classpath. |
java.io.File |
getWARFile()
Returns the WAR file this instance operates on. |
static boolean |
isWARFile(java.io.File warFile)
Checks whether the given file is a WAR file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WarProcessor(java.io.File warFile) throws java.io.IOException
warFile
- the WAR file
java.io.IOException
- if an I/O error occursMethod Detail |
---|
public void analyze(DependencyAnalyzer analyzer) throws java.io.IOException
DependencyAnalyzer
.
analyzer
- the dependency analyzer
java.io.IOException
- if an I/O error occurspublic java.io.File getWARFile()
public java.util.Collection<java.lang.String> getWarClasspath()
public void close() throws java.io.IOException
java.io.IOException
- if an I/O error occurspublic static boolean isWARFile(java.io.File warFile) throws java.io.IOException
warFile
- the file to inspect
java.io.IOException
- if an I/O error occurs
|
ch.jm.osgi.util.bundle 1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |