org.mule.devkit.model.code.fmt
Class StaticFile
java.lang.Object
org.mule.devkit.model.code.ResourceFile
org.mule.devkit.model.code.fmt.StaticFile
public final class StaticFile
- extends ResourceFile
Allows an application to copy a resource file to the output.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
|
Method Summary |
protected void |
build(OutputStream os)
called by Package to produce the file image. |
protected boolean |
isResource()
Returns true if this file should be generated into the directory
that the resource files go into. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticFile
public StaticFile(String _resourceName)
StaticFile
public StaticFile(String _resourceName,
boolean isResource)
StaticFile
public StaticFile(ClassLoader _classLoader,
String _resourceName,
boolean isResource)
- Parameters:
isResource - false if this is a Java source file. True if this is other resource files.
isResource
protected boolean isResource()
- Description copied from class:
ResourceFile
- Returns true if this file should be generated into the directory
that the resource files go into.
Returns false if this file should be generated into the directory
where other source files go.
- Overrides:
isResource in class ResourceFile
build
protected 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-2013 MuleSoft, Inc.. All Rights Reserved.