Package com.sun.codemodel
Class JResourceFile
java.lang.Object
com.sun.codemodel.JResourceFile
- Direct Known Subclasses:
JBinaryFile
,JPropertyFile
,JSerializedObject
,JStaticFile
,JStaticJavaFile
,JTextFile
Represents a resource file in the application-specific file format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
build
(OutputStream os) called by JPackage to produce the file image.protected boolean
Returns true if this file should be generated into the directory that the resource files go into.name()
Gets the name of this property file
-
Constructor Details
-
JResourceFile
-
-
Method Details
-
name
Gets the name of this property file -
isResource
protected boolean isResource()Returns true if this file should be generated into the directory that the resource files go into.Returns false if this file should be generated into the directory where other source files go.
-
build
called by JPackage to produce the file image.- Throws:
IOException
-