Top Description Fields Constructors Methods
com.sun.codemodel

public abstract Class JResourceFile

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.codemodel.fmt.JBinaryFile, com.sun.codemodel.fmt.JPropertyFile, com.sun.codemodel.fmt.JSerializedObject, com.sun.codemodel.fmt.JStaticFile, com.sun.codemodel.fmt.JStaticJavaFile, com.sun.codemodel.fmt.JTextFile
Imports
java.io.IOException, .OutputStream

Represents a resource file in the application-specific file format.

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected abstract 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.

public String
name()

Gets the name of this property file

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name

Constructor Detail

JResourceFileback to summary
protected JResourceFile(String name)

Method Detail

buildback to summary
protected abstract void build(OutputStream os) throws IOException

called by JPackage to produce the file image.

isResourceback to summary
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.

nameback to summary
public String name()

Gets the name of this property file