Top Description Fields Constructors Methods
com.sun.codemodel.fmt

public Class JTextFile

extends JResourceFile
Class Inheritance
Imports
java.io.IOException, .OutputStream, .OutputStreamWriter, .Writer, com.sun.codemodel.JResourceFile

Simple text file.
Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
build(OutputStream out)

Implements abstract com.sun.codemodel.JResourceFile.build.

called by JPackage to produce the file image.

public void
setContents(String _contents)

Inherited from com.sun.codemodel.JResourceFile:
isResourcename

Field Detail

contentsback to summary
private String contents

Constructor Detail

JTextFileback to summary
public JTextFile(String name)

Method Detail

buildback to summary
public void build(OutputStream out) throws IOException

Implements abstract com.sun.codemodel.JResourceFile.build.

Doc from com.sun.codemodel.JResourceFile.build.

called by JPackage to produce the file image.

Annotations
@Override
setContentsback to summary
public void setContents(String _contents)