org.mycore.frontend.cli
Class MCRMetsModsCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.frontend.cli.MCRMetsModsCommands
- All Implemented Interfaces:
- MCRExternalCommandInterface
public final class MCRMetsModsCommands
- extends MCRAbstractCommands
This class builds a google sitemap containing links to all documents and store them to the webapps directory. This can be configured with property variable MCR.GoogleSitemap.Directory. The web.xml file should contain a mapping to /sitemap.xml See http://www.google.com/webmasters/sitemaps/docs/en/protocol.html
- Version:
- $Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
- Author:
- Frank Luetzenkirchen, Jens Kupferschmidt, Thomas Scheffler (yagee), Stefan Freitag (sasf)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRMetsModsCommands
public MCRMetsModsCommands()
- The empty constructor.
removeMets
public static final void removeMets()
throws Exception
- Remove mets.xml files from all derivates.
- Throws:
Exception
removeMetsByZoomify
public static final void removeMetsByZoomify()
throws Exception
- Remove mets.xml files from all derivates typed by zoomify.
- Throws:
Exception
buildMetsForMCRObjectID
public static final void buildMetsForMCRObjectID(String MCRID,
String baseurl)
buildMetsForMCRDerivateID
public static final void buildMetsForMCRDerivateID(String MCRID,
String baseurl)
buildMets
public static final void buildMets(String baseurl)
throws Exception
- The build mets.xml files in the derivates if they does not exist and the content are images.
- Throws:
Exception