public class JStaticFile extends AbstractJResourceFile
| Constructor and Description |
|---|
JStaticFile(ClassLoader aClassLoader,
String sResourceName,
boolean bIsResource) |
JStaticFile(String sResourceName) |
JStaticFile(String sResourceName,
boolean bIsResource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(OutputStream os)
called by
JPackage to produce the file image. |
protected boolean |
isResource() |
namepublic JStaticFile(@Nonnull ClassLoader aClassLoader, @Nonnull String sResourceName, boolean bIsResource)
aClassLoader - Class loader to use. May not be null.sResourceName - Path to use for loading via resource. May not be null.bIsResource - false if this is a Java source file. true
if this is other resource files.protected boolean isResource()
isResource in class AbstractJResourceFiletrue if this file should be generated into the
directory that the resource files go into. false if
this file should be generated into the directory where other source
files go.protected void build(@Nonnull OutputStream os) throws IOException
AbstractJResourceFileJPackage to produce the file image.build in class AbstractJResourceFileos - OutputStream to write toIOException - If writing on the stream throws an errorCopyright © 2013–2015 Philip Helger. All rights reserved.