public final class JStaticFile extends JResourceFile
Constructor and Description |
---|
JStaticFile(ClassLoader _classLoader,
String _resourceName,
boolean isResource) |
JStaticFile(String _resourceName) |
JStaticFile(String _resourceName,
boolean isResource) |
Modifier and Type | Method and Description |
---|---|
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.
|
name
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.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
Copyright © 2017 JBoss by Red Hat. All rights reserved.