org.mule.devkit.model.code.fmt
Class BinaryFile
java.lang.Object
org.mule.devkit.model.code.ResourceFile
org.mule.devkit.model.code.fmt.BinaryFile
public final class BinaryFile
- extends ResourceFile
Allows the application to use OutputStream to define data
that will be stored into a 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 |
BinaryFile
public BinaryFile(String name)
getDataStore
public OutputStream getDataStore()
- Returns:
- Data written to the returned output stream will be written
to the file.
build
public void build(OutputStream os)
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.