public class CSVVizService extends AbstractVizService
Constructor and Description |
---|
CSVVizService()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
IVizCanvas |
createCanvas(Geometry geometry)
This operation directs the IVizService to create a new canvas displaying
the given Geometry and to return a handle to that canvas to the caller so
that it may modify the canvas.
|
IVizCanvas |
createCanvas(IController object)
Nothing to do for the basic implementation for creating a canvas.
|
IPlot |
createPlot(java.net.URI file)
This class provides a basic implementation where an
IllegalArgumentException is thrown if the specified URI or its
associated file's extension is invalid. |
IControllerProviderFactory |
getControllerProviderFactory()
Returns a factory which will create views and controllers for model parts
specific to the service's rendering program.
|
java.lang.String |
getName()
This operation returns the name of the service.
|
java.lang.String |
getVersion()
This operation returns a version number for the service.
|
getSupportedExtensions
public CSVVizService()
Note: Only OSGi should call this method!
public IPlot createPlot(java.net.URI file) throws java.lang.Exception
AbstractVizService
IllegalArgumentException
is thrown if the specified URI or its
associated file's extension is invalid.
It is recommended that sub-classes override this method but call it in
the first line. Sub-classes should also add supported extensions to the
set of AbstractVizService.supportedExtensions
at construction.
createPlot
in interface IVizService
createPlot
in class AbstractVizService
file
- The file from which the plot should be createdjava.lang.Exception
- An exception indicating that the IVizService could not create
a plot with the given file and giving the reason why.public java.lang.String getName()
IVizService
public java.lang.String getVersion()
IVizService
public IVizCanvas createCanvas(IController object) throws java.lang.Exception
AbstractVizService
createCanvas
in interface IVizService
createCanvas
in class AbstractVizService
object
- The input object which will be rendered in the new canvasjava.lang.Exception
- An exception indicating that the IVizService could not create
a canvas with the given object and giving the reason why.public IControllerProviderFactory getControllerProviderFactory()
IVizService
public IVizCanvas createCanvas(Geometry geometry) throws java.lang.Exception
IVizService
geometry
- The input object which will be rendered in the new canvas.java.lang.Exception
- An exception indicating that the IVizService could not create
a canvas with the given object and giving the reason why.