Package org.socialmusicdiscovery.server.api.mediaimport

Examples of org.socialmusicdiscovery.server.api.mediaimport.ImageProvider


            // /META-INF/services/org.socialmusicdiscovery.server.api.mediaimport.ImageProvider
            Map<String, ImageProvider> providers = new HashMap<String, ImageProvider>();
            ServiceLoader<ImageProvider> pluginLoader = ServiceLoader.load(ImageProvider.class);
            Iterator<ImageProvider> it = pluginLoader.iterator();
            while (it.hasNext()) {
                ImageProvider provider = it.next();
                providers.put(provider.getSource(), provider);
            }

            imageProviderManager = new ImageProviderManager(providers);
        }
        return imageProviderManager;
View Full Code Here

TOP

Related Classes of org.socialmusicdiscovery.server.api.mediaimport.ImageProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.