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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTextFile
public JTextFile(String name)
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 class JResourceFile
- Throws:
IOException
Copyright © 2005-2012 Oracle. All Rights Reserved.