it.tidalwave.imageio.io
Class FileImageInputStream2Spi
java.lang.Object
javax.imageio.spi.IIOServiceProvider
javax.imageio.spi.ImageInputStreamSpi
it.tidalwave.imageio.io.FileImageInputStream2Spi
- All Implemented Interfaces:
- javax.imageio.spi.RegisterableService
public class FileImageInputStream2Spi
- extends javax.imageio.spi.ImageInputStreamSpi
- Version:
- CVS $Id: FileImageInputStream2Spi.java,v 1.3 2006/02/12 22:25:53 fabriziogiudici Exp $
- Author:
- fritz
|
Method Summary |
javax.imageio.stream.ImageInputStream |
createInputStreamInstance(java.lang.Object input,
boolean useCache,
java.io.File cacheDir)
|
java.lang.String |
getDescription(java.util.Locale locale)
|
void |
onRegistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
Upon registration, this method ensures that this SPI is listed at the top
of the ImageInputStreamSpi items, so that it will be invoked before the
default FileImageInputStreamSpi |
| Methods inherited from class javax.imageio.spi.ImageInputStreamSpi |
canUseCacheFile, createInputStreamInstance, getInputClass, needsCacheFile |
| Methods inherited from class javax.imageio.spi.IIOServiceProvider |
getVendorName, getVersion, onDeregistration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileImageInputStream2Spi
public FileImageInputStream2Spi()
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in class javax.imageio.spi.IIOServiceProvider
onRegistration
public void onRegistration(javax.imageio.spi.ServiceRegistry registry,
java.lang.Class category)
- Upon registration, this method ensures that this SPI is listed at the top
of the ImageInputStreamSpi items, so that it will be invoked before the
default FileImageInputStreamSpi
- Specified by:
onRegistration in interface javax.imageio.spi.RegisterableService- Overrides:
onRegistration in class javax.imageio.spi.IIOServiceProvider
- Parameters:
registry - the registrycategory - the registration category
createInputStreamInstance
public javax.imageio.stream.ImageInputStream createInputStreamInstance(java.lang.Object input,
boolean useCache,
java.io.File cacheDir)
- Specified by:
createInputStreamInstance in class javax.imageio.spi.ImageInputStreamSpi