public final class JStaticFile extends JResourceFile
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ClassLoader |
classLoader |
private boolean |
isResource |
private java.lang.String |
resourceName |
| Constructor and Description |
|---|
JStaticFile(java.lang.ClassLoader _classLoader,
java.lang.String _resourceName,
boolean isResource) |
JStaticFile(java.lang.String _resourceName) |
JStaticFile(java.lang.String _resourceName,
boolean isResource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(java.io.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.
|
nameprivate final java.lang.ClassLoader classLoader
private final java.lang.String resourceName
private final boolean isResource
public JStaticFile(java.lang.String _resourceName)
public JStaticFile(java.lang.String _resourceName,
boolean isResource)
public JStaticFile(java.lang.ClassLoader _classLoader,
java.lang.String _resourceName,
boolean isResource)
isResource - false if this is a Java source file. True if this is other resource files.protected boolean isResource()
JResourceFileReturns false if this file should be generated into the directory where other source files go.
isResource in class JResourceFileprotected void build(java.io.OutputStream os)
throws java.io.IOException
JResourceFilebuild in class JResourceFilejava.io.IOException