public abstract class AbstractVizService extends java.lang.Object implements IVizService
IVizService
s and
includes helpful methods that are frequently used.Constructor and Description |
---|
AbstractVizService()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
boolean |
extensionSupported(java.net.URI uri)
Determines if the URI's extension is included in the set of
supportedExtensions . |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, disconnect, getConnectionProperties, getName, getVersion, hasConnectionProperties, setConnectionProperties
public IPlot createPlot(java.net.URI file) throws java.lang.Exception
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 supportedExtensions
at construction.
createPlot
in interface IVizService
file
- The file from which the plot should be createdjava.lang.Exception
public boolean extensionSupported(java.net.URI uri)
supportedExtensions
.uri
- The URI to test.