Class SitemapManager

java.lang.Object
net.bioclipse.managers.SitemapManager
All Implemented Interfaces:
IBactingManager, net.bioclipse.managers.business.IBioclipseManager

public class SitemapManager extends Object implements IBactingManager
Bioclipse manager that helps work with sitemaps.
  • Constructor Details

    • SitemapManager

      public SitemapManager(String workspaceRoot)
      Creates a new SitemapManager.
      Parameters:
      workspaceRoot - location of the workspace, e.g. "."
  • Method Details

    • parse

      public List<String> parse(String sitemapURL) throws net.bioclipse.core.business.BioclipseException
      Extracts the URLs in a sitemap, each as a String representation.
      Parameters:
      sitemapURL - URL of the sitemap.xml to parse
      Returns:
      a List of Strings of URLs
      Throws:
      net.bioclipse.core.business.BioclipseException
    • getManagerName

      public String getManagerName()
      Specified by:
      getManagerName in interface net.bioclipse.managers.business.IBioclipseManager
    • doi

      public List<String> doi()
      Description copied from interface: IBactingManager
      Lists the DOIs of the articles associated to this manager.
      Specified by:
      doi in interface IBactingManager
      Returns:
      a List of String with DOIs