edu.wisc.trace.uch.resource.uploadmanager
Class UploadManager
java.lang.Object
edu.wisc.trace.uch.resource.uploadmanager.UploadManager
public class UploadManager
- extends Object
Provide methods to upload resources locally and on resource server.
- Version:
- $Revision: 1.1 $
- Author:
- Parikshit Thakur & Team, Trace R&D Center
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploadManager
public UploadManager(ResourceManager resourceManager,
String localResourceDirURI,
String resServerAppPath,
String userName,
String password)
uploadResources
public List<Map<String,String>> uploadResources(List<Map<String,List<String>>> props,
List<String> owners,
List<String> groups,
Map<String,List<String>> rights,
List<String> resourceUri)
- Upload the specified Resources to the Resource Server and prepare a List of Map containing Status Code and Resource Name and return it.
- Parameters:
props - an Object of List<Map<String, List<String>>>owners - an Object of List<String>groups - an Object of List<String>rights - an Object of List<Map<String, List<String>>>resourceUri - a String value of Resource URI
- Returns:
- an Object of List<Map<String, String>>
Copyright © 2006-2008 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.