org.duracloud.client.util
Class ContentStoreUtil

java.lang.Object
  extended by org.duracloud.client.util.ContentStoreUtil

public class ContentStoreUtil
extends Object

Author:
Andrew Woods Date: 6/8/11

Constructor Summary
ContentStoreUtil(ContentStore contentStore)
           
 
Method Summary
 void deleteOldContent(String spaceId, String contentId)
           
 InputStream getContentStream(String spaceId, String contentId)
           
 void storeContentStream(File file, String spaceId, String contentId)
           
 void storeContentStream(File file, String spaceId, String contentId, String contentMimetype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentStoreUtil

public ContentStoreUtil(ContentStore contentStore)
Method Detail

getContentStream

public InputStream getContentStream(String spaceId,
                                    String contentId)

deleteOldContent

public void deleteOldContent(String spaceId,
                             String contentId)

storeContentStream

public void storeContentStream(File file,
                               String spaceId,
                               String contentId,
                               String contentMimetype)

storeContentStream

public void storeContentStream(File file,
                               String spaceId,
                               String contentId)


Copyright © 2009-2012 DuraSpace. All Rights Reserved.