Class PDFBoxTreeProvider

    • Constructor Detail

      • PDFBoxTreeProvider

        public PDFBoxTreeProvider()
      • PDFBoxTreeProvider

        public PDFBoxTreeProvider​(URL url)
      • PDFBoxTreeProvider

        public PDFBoxTreeProvider​(URL url,
                                  boolean acquireImages,
                                  boolean includeScreenshot,
                                  float zoom,
                                  int startPage,
                                  int endPage)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Service
        Obtains a unique ID of the service
      • getName

        public String getName()
        Description copied from interface: Service
        Obtains a descriptive name of the service that may be presented to the user.
        Returns:
        the operator name
      • getDescription

        public String getDescription()
        Description copied from interface: Service
        Obtains a longer description of the service.
        Returns:
        the description
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • getAcquireImages

        public boolean getAcquireImages()
      • setAcquireImages

        public void setAcquireImages​(boolean acquireImages)
      • getIncludeScreenshot

        public boolean getIncludeScreenshot()
      • setIncludeScreenshot

        public void setIncludeScreenshot​(boolean includeScreenshot)
      • getStartPage

        public int getStartPage()
      • setStartPage

        public void setStartPage​(int startPage)
      • getEndPage

        public int getEndPage()
      • setEndPage

        public void setEndPage​(int endPage)
      • getZoom

        public float getZoom()
      • setZoom

        public void setZoom​(float zoom)
      • getConsumes

        public org.eclipse.rdf4j.model.IRI getConsumes()
        Description copied from interface: ArtifactService
        The artifact type consumed.
        Returns:
        the artifact type IRI or null when nothing is consumed (source only).
      • getProduces

        public org.eclipse.rdf4j.model.IRI getProduces()
        Description copied from interface: ArtifactService
        The artifact type produced.
        Returns:
        the artifact type IRI or null when nothing is produced (consumer only).
      • process

        public Artifact process​(Artifact input)
                         throws ServiceException
        Description copied from interface: ArtifactService
        Consumes an input artifact and produces an output artifact.
        Parameters:
        input - The input artifact or null when nothing is consumed
        Returns:
        the output artifact null when nothing is produced
        Throws:
        ServiceException