public class FileSinkFactory
extends java.lang.Object
This class tries to instantiate a writer given a filename. Actually it purely tries to analyze the extension and propose the writer according to this extension.
Constructor and Description |
---|
FileSinkFactory() |
Modifier and Type | Method and Description |
---|---|
static FileSink |
sinkFor(java.lang.String filename)
Looks at the file name given and its extension and propose a file output for
the format that match this extension.
|
public static FileSink sinkFor(java.lang.String filename)
filename
- The file name where the graph will be written.