Package digilib.image

Class DocuImageFactory


  • public class DocuImageFactory
    extends Object
    Static factory for DocuImages.
    Author:
    casties
    • Field Detail

      • logger

        protected static org.slf4j.Logger logger
        Log4J logger
      • docuImageClass

        protected static Class<DocuImage> docuImageClass
        AuthOps implementation class
    • Constructor Detail

      • DocuImageFactory

        public DocuImageFactory()
    • Method Detail

      • getInstance

        public static DocuImage getInstance()
        Creates a new DocuImage instance. The type of DocuImage is specified by docuimage-class.
        Returns:
        DocuImage
      • setDocuImageClass

        public static void setDocuImageClass​(Class<DocuImage> clazz)
        set the DocuImage implementation class.
        Parameters:
        clazz - the implementation class