Package org.apache.cxf.tools.corba.utils
Class FileOutputStreamFactory
- java.lang.Object
-
- org.apache.cxf.tools.corba.utils.FileOutputStreamFactory
-
- All Implemented Interfaces:
OutputStreamFactory
public class FileOutputStreamFactory extends Object implements OutputStreamFactory
-
-
Constructor Summary
Constructors Constructor Description FileOutputStreamFactory()FileOutputStreamFactory(String dir)FileOutputStreamFactory(String dir, FileOutputStreamFactory p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearStreams()OutputStreamcreateFakeOutputStream(String name)OutputStreamcreateFakeOutputStream(String packageName, String name)OutputStreamcreateOutputStream(String name)OutputStreamcreateOutputStream(String packageName, String name)OutputStreamFactorycreateSubpackageOutputStreamFactory(String name)StringgetDirectoryName()Iterator<String>getStreamNames()booleanisOutputStreamExists(String packageName, String name)
-
-
-
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:
createFakeOutputStreamin interfaceOutputStreamFactory- Throws:
IOException
-
createFakeOutputStream
public OutputStream createFakeOutputStream(String packageName, String name) throws IOException
- Specified by:
createFakeOutputStreamin interfaceOutputStreamFactory- Throws:
IOException
-
createOutputStream
public OutputStream createOutputStream(String packageName, String name) throws IOException
- Specified by:
createOutputStreamin interfaceOutputStreamFactory- Throws:
IOException
-
createOutputStream
public OutputStream createOutputStream(String name) throws IOException
- Specified by:
createOutputStreamin interfaceOutputStreamFactory- Throws:
IOException
-
createSubpackageOutputStreamFactory
public OutputStreamFactory createSubpackageOutputStreamFactory(String name) throws IOException
- Specified by:
createSubpackageOutputStreamFactoryin interfaceOutputStreamFactory- Throws:
IOException
-
getStreamNames
public Iterator<String> getStreamNames() throws IOException
- Specified by:
getStreamNamesin interfaceOutputStreamFactory- Throws:
IOException
-
clearStreams
public void clearStreams()
- Specified by:
clearStreamsin interfaceOutputStreamFactory
-
isOutputStreamExists
public boolean isOutputStreamExists(String packageName, String name)
- Specified by:
isOutputStreamExistsin interfaceOutputStreamFactory
-
-