|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SinkFactory
A factory that creates a Sink
object.
Field Summary | |
---|---|
static String |
ROLE
The Plexus SinkFactory Role. |
Method Summary | |
---|---|
Sink |
createSink(File outputDir,
String outputName)
Create a Sink into a file. |
Sink |
createSink(File outputDir,
String outputName,
String encoding)
Create a Sink into a file using a specified encoding. |
Sink |
createSink(OutputStream out)
Create a Sink into an OutputStream. |
Sink |
createSink(OutputStream out,
String encoding)
Create a Sink into an OutputStream using a specified encoding. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Sink createSink(File outputDir, String outputName) throws IOException
Sink
into a file.
outputDir
- the not-null output dir.outputName
- the not-null output name.
Sink
instance with a file as output.
IOException
- if anySink createSink(File outputDir, String outputName, String encoding) throws IOException
Sink
into a file using a specified encoding.
outputDir
- the not-null output dir.outputName
- the not-null output name.encoding
- the output encoding.
Sink
instance with a file as output and using specified encoding.
IOException
- if anycreateSink(File, String)
Sink createSink(OutputStream out) throws IOException
Sink
into an OutputStream.
out
- not null OutputStream to write the result.
Sink
instance.
IOException
- if anySink createSink(OutputStream out, String encoding) throws IOException
Sink
into an OutputStream using a specified encoding.
out
- not null OutputStream to write the result.encoding
- the output encoding.
Sink
instance using specified encoding.
IOException
- if any
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |