Package com.sun.codemodel.fmt
Class JTextFile
- java.lang.Object
-
- com.sun.codemodel.JResourceFile
-
- com.sun.codemodel.fmt.JTextFile
-
public class JTextFile extends JResourceFile
Simple text file.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Constructor Summary
Constructors Constructor Description JTextFile(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(java.io.OutputStream out)
called by JPackage to produce the file image.void
setContents(java.lang.String _contents)
-
Methods inherited from class com.sun.codemodel.JResourceFile
isResource, name
-
-
-
-
Method Detail
-
setContents
public void setContents(java.lang.String _contents)
-
build
public void build(java.io.OutputStream out) throws java.io.IOException
Description copied from class:JResourceFile
called by JPackage to produce the file image.- Specified by:
build
in classJResourceFile
- Throws:
java.io.IOException
-
-