public interface IParaViewProxyBuilder
IParaViewProxy
instances
can be created for a set of supported extensions.
Instances of this class should register with the
IParaViewProxyFactory
via OSGi.
Modifier and Type | Method and Description |
---|---|
IParaViewProxy |
createProxy(java.net.URI uri)
Creates an
IParaViewProxy for the specified file based on its
extension. |
java.util.Set<java.lang.String> |
getExtensions()
Gets the set of supported extensions.
|
java.lang.String |
getName()
Gets a nice name for the builder.
|
IParaViewProxy createProxy(java.net.URI uri) throws java.lang.NullPointerException, java.lang.IllegalArgumentException
IParaViewProxy
for the specified file based on its
extension.uri
- The file for which a proxy will be created.null
if the specified file is
null or a proxy cannot be created.java.lang.NullPointerException
- If the provided URI is null.java.lang.IllegalArgumentException
- If the file's extension is not supported by this proxy.java.util.Set<java.lang.String> getExtensions()
null
, and should not change throughout the
builder's lifecycle.java.lang.String getName()
null
.