public abstract class IconCollection extends Object
Constructor and Description |
---|
IconCollection() |
Modifier and Type | Method and Description |
---|---|
abstract String |
formatToIconName(URI format)
Get an icon file name given a format, as it can be found in our jar
archive.
|
abstract InputStream |
formatToIconStream(URI format)
Get an icon stream given a format.
|
abstract URL |
formatToIconUrl(URI format)
Get a URL pointing to an icon in the archive.
|
abstract int |
getPriority()
Defines the priority of this collection.
|
abstract boolean |
hasIcon(URI format)
Returns true, if the given format is available in this collection.
|
public abstract int getPriority()
public abstract boolean hasIcon(URI format)
format
- the format URIpublic abstract URL formatToIconUrl(URI format)
null
is supposed to be returned.format
- the format URIpublic abstract InputStream formatToIconStream(URI format)
null
is supposed to be returned.format
- the format URIpublic abstract String formatToIconName(URI format)
null
is supposed to be returned.format
- the format URICopyright © 2018 SEMS project @ University of Rostock. All rights reserved.