Apache CXF API

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 Object
implements OutputStreamFactory


Constructor Summary
FileOutputStreamFactory()
           
FileOutputStreamFactory(String dir)
           
FileOutputStreamFactory(String dir, FileOutputStreamFactory p)
           
 
Method Summary
 void clearStreams()
           
 OutputStream createFakeOutputStream(String name)
           
 OutputStream createFakeOutputStream(String packageName, String name)
           
 OutputStream createOutputStream(String name)
           
 OutputStream createOutputStream(String packageName, String name)
           
 OutputStreamFactory createSubpackageOutputStreamFactory(String name)
           
 String getDirectoryName()
           
 Iterator getStreamNames()
           
 boolean isOutputStreamExists(String packageName, 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(String dir)

FileOutputStreamFactory

public FileOutputStreamFactory(String dir,
                               FileOutputStreamFactory p)
Method Detail

getDirectoryName

public String getDirectoryName()

createFakeOutputStream

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

createFakeOutputStream

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

createOutputStream

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

createOutputStream

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

createSubpackageOutputStreamFactory

public OutputStreamFactory createSubpackageOutputStreamFactory(String name)
                                                        throws IOException
Specified by:
createSubpackageOutputStreamFactory in interface OutputStreamFactory
Throws:
IOException

getStreamNames

public Iterator getStreamNames()
                        throws IOException
Specified by:
getStreamNames in interface OutputStreamFactory
Throws:
IOException

clearStreams

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

isOutputStreamExists

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

Apache CXF API

Apache CXF