jdeparser 1.0.0.Final-redhat-1

org.jboss.jdeparser.fmt
Class JBinaryFile

java.lang.Object
  extended by org.jboss.jdeparser.JResourceFile
      extended by org.jboss.jdeparser.fmt.JBinaryFile

public final class JBinaryFile
extends JResourceFile

Allows the application to use OutputStream to define data that will be stored into a file.

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

Constructor Summary
JBinaryFile(String name)
           
 
Method Summary
 void build(OutputStream os)
          called by JPackage to produce the file image.
 OutputStream getDataStore()
           
 
Methods inherited from class org.jboss.jdeparser.JResourceFile
isResource, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBinaryFile

public JBinaryFile(String name)
Method Detail

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: JResourceFile
called by JPackage to produce the file image.

Specified by:
build in class JResourceFile
Throws:
IOException

jdeparser 1.0.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.