org.apache.cxf.tools.corba.utils
Class FileOutputStreamFactory

java.lang.Object
  extended by org.apache.cxf.tools.corba.utils.FileOutputStreamFactory
All Implemented Interfaces:
OutputStreamFactory

public class FileOutputStreamFactory
extends java.lang.Object
implements OutputStreamFactory


Constructor Summary
FileOutputStreamFactory()
           
FileOutputStreamFactory(java.lang.String dir)
           
FileOutputStreamFactory(java.lang.String dir, FileOutputStreamFactory p)
           
 
Method Summary
 void clearStreams()
           
 java.io.OutputStream createFakeOutputStream(java.lang.String name)
           
 java.io.OutputStream createFakeOutputStream(java.lang.String packageName, java.lang.String name)
           
 java.io.OutputStream createOutputStream(java.lang.String name)
           
 java.io.OutputStream createOutputStream(java.lang.String packageName, java.lang.String name)
           
 OutputStreamFactory createSubpackageOutputStreamFactory(java.lang.String name)
           
 java.lang.String getDirectoryName()
           
 java.util.Iterator getStreamNames()
           
 boolean isOutputStreamExists(java.lang.String packageName, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileOutputStreamFactory

public FileOutputStreamFactory()

FileOutputStreamFactory

public FileOutputStreamFactory(java.lang.String dir)

FileOutputStreamFactory

public FileOutputStreamFactory(java.lang.String dir,
                               FileOutputStreamFactory p)
Method Detail

getDirectoryName

public java.lang.String getDirectoryName()

createFakeOutputStream

public java.io.OutputStream createFakeOutputStream(java.lang.String name)
                                            throws java.io.IOException
Specified by:
createFakeOutputStream in interface OutputStreamFactory
Throws:
java.io.IOException

createFakeOutputStream

public java.io.OutputStream createFakeOutputStream(java.lang.String packageName,
                                                   java.lang.String name)
                                            throws java.io.IOException
Specified by:
createFakeOutputStream in interface OutputStreamFactory
Throws:
java.io.IOException

createOutputStream

public java.io.OutputStream createOutputStream(java.lang.String packageName,
                                               java.lang.String name)
                                        throws java.io.IOException
Specified by:
createOutputStream in interface OutputStreamFactory
Throws:
java.io.IOException

createOutputStream

public java.io.OutputStream createOutputStream(java.lang.String name)
                                        throws java.io.IOException
Specified by:
createOutputStream in interface OutputStreamFactory
Throws:
java.io.IOException

createSubpackageOutputStreamFactory

public OutputStreamFactory createSubpackageOutputStreamFactory(java.lang.String name)
                                                        throws java.io.IOException
Specified by:
createSubpackageOutputStreamFactory in interface OutputStreamFactory
Throws:
java.io.IOException

getStreamNames

public java.util.Iterator getStreamNames()
                                  throws java.io.IOException
Specified by:
getStreamNames in interface OutputStreamFactory
Throws:
java.io.IOException

clearStreams

public void clearStreams()
Specified by:
clearStreams in interface OutputStreamFactory

isOutputStreamExists

public boolean isOutputStreamExists(java.lang.String packageName,
                                    java.lang.String name)
Specified by:
isOutputStreamExists in interface OutputStreamFactory


Apache CXF