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