| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.codemodel.JResourceFile
com.sun.codemodel.fmt.JStaticFile
public final class JStaticFile
Allows an application to copy a resource file to the output.
Constructor Summary | |
---|---|
JStaticFile(ClassLoader _classLoader, String _resourceName, boolean isResource) | |
JStaticFile(String _resourceName) | |
JStaticFile(String _resourceName, boolean isResource) |
Method Summary | |
---|---|
protected void | build(OutputStream os) called by JPackage to produce the file image. |
protected boolean | isResource() Returns true if this file should be generated into the directory that the resource files go into. |
Methods inherited from class com.sun.codemodel.JResourceFile |
---|
name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JStaticFile(String _resourceName)
public JStaticFile(String _resourceName, boolean isResource)
public JStaticFile(ClassLoader _classLoader, String _resourceName, boolean isResource)
isResource
- false if this is a Java source file. True if this is other resource files.Method Detail |
---|
protected boolean isResource()
JResourceFile
Returns false if this file should be generated into the directory where other source files go.
isResource
in class JResourceFile
protected void build(OutputStream os) throws IOException
JResourceFile
build
in class JResourceFile
IOException
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |