org.dspace.sword
Class MediaEntryManager

java.lang.Object
  extended by org.dspace.sword.MediaEntryManager

public class MediaEntryManager
extends Object

Author:
Richard Jones Class to provide tools to manage media links and media entries for sword

Constructor Summary
MediaEntryManager(SWORDService swordService)
           
 
Method Summary
 AtomDocumentResponse getMediaEntry(String url)
          Get the media entry for the given URL request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaEntryManager

public MediaEntryManager(SWORDService swordService)
Method Detail

getMediaEntry

public AtomDocumentResponse getMediaEntry(String url)
                                   throws DSpaceSWORDException,
                                          SWORDErrorException
Get the media entry for the given URL request. If the url is unavailable this method will throw the appropriate sword errors, with DSpace custom URLs

Parameters:
url -
Returns:
Throws:
DSpaceSWORDException
SWORDErrorException


Copyright © 2009 The DSpace Foundation. All Rights Reserved.