public class FileOutputStreamFactory extends Object implements OutputStreamFactory
Constructor and Description |
---|
FileOutputStreamFactory() |
FileOutputStreamFactory(String dir) |
FileOutputStreamFactory(String dir,
FileOutputStreamFactory p) |
Modifier and Type | Method and Description |
---|---|
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<String> |
getStreamNames() |
boolean |
isOutputStreamExists(String packageName,
String name) |
public FileOutputStreamFactory()
public FileOutputStreamFactory(String dir)
public FileOutputStreamFactory(String dir, FileOutputStreamFactory p)
public String getDirectoryName()
public OutputStream createFakeOutputStream(String name) throws IOException
createFakeOutputStream
in interface OutputStreamFactory
IOException
public OutputStream createFakeOutputStream(String packageName, String name) throws IOException
createFakeOutputStream
in interface OutputStreamFactory
IOException
public OutputStream createOutputStream(String packageName, String name) throws IOException
createOutputStream
in interface OutputStreamFactory
IOException
public OutputStream createOutputStream(String name) throws IOException
createOutputStream
in interface OutputStreamFactory
IOException
public OutputStreamFactory createSubpackageOutputStreamFactory(String name) throws IOException
createSubpackageOutputStreamFactory
in interface OutputStreamFactory
IOException
public Iterator<String> getStreamNames() throws IOException
getStreamNames
in interface OutputStreamFactory
IOException
public void clearStreams()
clearStreams
in interface OutputStreamFactory
public boolean isOutputStreamExists(String packageName, String name)
isOutputStreamExists
in interface OutputStreamFactory
Apache CXF