Methods Summary |
---|
public boolean | canUseCacheFile()Returns true if the ImageOutputStream can use a cache file. If this
method returns false, the value of the useCache parameter of
createOutputStreamInstance will be ignored. The default implementation
returns false.
return false; // def
|
public javax.imageio.stream.ImageOutputStream | createOutputStreamInstance(java.lang.Object output)Creates the ImageOutputStream associated with this service provider. The
output object should be an instance of the class returned by
getOutputClass method. This method uses the default system directory for
the cache file, if it is needed.
return createOutputStreamInstance(output, true, null);
|
public abstract javax.imageio.stream.ImageOutputStream | createOutputStreamInstance(java.lang.Object output, boolean useCache, java.io.File cacheDir)Creates the ImageOutputStream associated with this service provider. The
output object should be an instance of the class returned by
getInputClass method. This method uses the specified directory for the
cache file, if the useCache parameter is true.
|
public java.lang.Class | getOutputClass()Gets an output Class object that represents the class or interface that
must be implemented by an output source.
return outputClass;
|
public boolean | needsCacheFile()Returns true if the ImageOutputStream implementation requires the use of
a cache file. The default implementation returns false.
return false; // def
|