org.mule.devkit.model.code.fmt
Class TextFile

java.lang.Object
  extended by org.mule.devkit.model.code.ResourceFile
      extended by org.mule.devkit.model.code.fmt.TextFile

public class TextFile
extends ResourceFile

Simple text file.

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

Constructor Summary
TextFile(String name)
           
 
Method Summary
 void build(OutputStream out)
          called by Package to produce the file image.
 void setContents(String _contents)
           
 
Methods inherited from class org.mule.devkit.model.code.ResourceFile
isResource, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFile

public TextFile(String name)
Method Detail

setContents

public void setContents(String _contents)

build

public void build(OutputStream out)
           throws IOException
Description copied from class: ResourceFile
called by Package to produce the file image.

Specified by:
build in class ResourceFile
Throws:
IOException


Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.