|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.main.PackageInfoClasspathHandler
public class PackageInfoClasspathHandler
| Constructor Summary | |
|---|---|
PackageInfoClasspathHandler(Enunciate enunciate)
|
|
| Method Summary | |
|---|---|
boolean |
endPathEntry(java.io.File pathEntry)
End an entry on the classpath. |
java.util.Set<java.io.File> |
getPackageInfoSources()
|
void |
handleResource(ClasspathResource resource)
Handle a classpath resource. |
void |
startPathEntry(java.io.File pathEntry)
Start an entry on the classpath. |
protected boolean |
writePackageSourceFile(java.io.InputStream bytecode,
java.io.File packageSourceFile)
Write the package-info.java source to the specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackageInfoClasspathHandler(Enunciate enunciate)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void startPathEntry(java.io.File pathEntry)
ClasspathHandler
startPathEntry in interface ClasspathHandlerpathEntry - The path entry.public void handleResource(ClasspathResource resource)
ClasspathHandler
handleResource in interface ClasspathHandlerresource - The classpath resource to handle.public boolean endPathEntry(java.io.File pathEntry)
ClasspathHandler
endPathEntry in interface ClasspathHandlerpathEntry - The entry on the classpath that we're ending.
protected boolean writePackageSourceFile(java.io.InputStream bytecode,
java.io.File packageSourceFile)
throws java.io.IOException
bytecode - The bytecode for the package-info.classpackageSourceFile - The source file.
java.io.IOExceptionpublic java.util.Set<java.io.File> getPackageInfoSources()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||