Modifier and Type | Field and Description |
---|---|
private static final Class | |
private static final String | |
private static final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public boolean | canUseCacheFile()
Overrides javax. true if the ImageInputStream
implementation associated with this service provider can
optionally make use of a cache file for improved performance
and/or memory footrprint.
|
public ImageInputStream | createInputStreamInstance(Object
an object of the class type returned by
input, boolean getInputClass .a useCache, File boolean indicating whether a
cache file should be used, in cases where it is optional.a cacheDir)File indicating where the
cache file should be created, or null to use the
system directory.Implements abstract javax. ImageInputStream
implementation associated with this service provider.
|
public String | getDescription(Locale
a locale)Locale for which the return value
should be localized.Implements abstract javax. |
public boolean | needsCacheFile()
Overrides javax. true if the ImageInputStream
implementation associated with this service provider requires
the use of a cache File .
|
inputClass | back to summary |
---|---|
private static final Class<?> inputClass |
vendorName | back to summary |
---|---|
private static final String vendorName |
version | back to summary |
---|---|
private static final String version |
InputStreamImageInputStreamSpi | back to summary |
---|---|
public InputStreamImageInputStreamSpi() |
canUseCacheFile | back to summary |
---|---|
public boolean canUseCacheFile() Overrides javax. Doc from javax. Returns The default implementation returns
|
createInputStreamInstance | back to summary |
---|---|
public ImageInputStream createInputStreamInstance(Object input, boolean useCache, File cacheDir) throws IOException Implements abstract javax. Doc from javax. Returns an instance of the
|
getDescription | back to summary |
---|---|
public String getDescription(Locale locale) Implements abstract javax. Doc from javax. Returns a brief, human-readable description of this service
provider and its associated implementation. The resulting
string should be localized for the supplied
|
needsCacheFile | back to summary |
---|---|
public boolean needsCacheFile() Overrides javax. Doc from javax. Returns The default implementation returns
|