com.sun.codemodel.fmt
Class JTextFile

java.lang.Object  extended by com.sun.codemodel.JResourceFile      extended by com.sun.codemodel.fmt.JTextFile

public class JTextFile
extends JResourceFile

Simple text file.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)


Constructor Summary
JTextFile(String name)
           
 
Method Summary
 voidbuild(OutputStream out)
          called by JPackage to produce the file image.
 voidsetContents(String _contents)
           
 
Methods inherited from class com.sun.codemodel.JResourceFile
isResource, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class JResourceFile
Throws:
IOException


Copyright © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14