FileDocCategorySizeDatePackage
ImageHandlingFactory.javaAPI DocJaudiotagger 2.0.41028Wed May 04 20:55:18 BST 2011org.jaudiotagger.tag.images

ImageHandlingFactory

public class ImageHandlingFactory extends Object
Provides a class for all Image handling, this is required because the image classes provided by standard java are different to those provided by Android

Fields Summary
private static StandardImageHandler
standardImageHandler
private static AndroidImageHandler
androidImageHandler
Constructors Summary
Methods Summary
public static ImageHandlergetInstance()

        //Normal
        if(!TagOptionSingleton.getInstance().isAndroid())
        {
            if(standardImageHandler==null)
            {
                standardImageHandler = StandardImageHandler.getInstanceOf();
            }
            return standardImageHandler;
        }
        //Android
        else
        {
            if(androidImageHandler==null)
            {
                androidImageHandler = AndroidImageHandler.getInstanceOf();
            }
            return androidImageHandler;
        }