static public void registerIOProvider ( Class iospClass , boolean last ) throws IllegalAccessException , InstantiationException { IOServiceProvider spi ; spi = ( IOServiceProvider ) iospClass . newInstance ( ) ; // fail fast if ( userLoads && ! last ) registeredProviders . add ( 0 , spi ) ; // put user stuff first else registeredProviders . add ( spi ) ; }
Register an IOServiceProvider . A new instance will be created when one of its files is opened .