public class ContentItemUploadTask extends Object implements Comparable, org.apache.commons.fileupload.ProgressListener
Constructor and Description |
---|
ContentItemUploadTask(ContentItem contentItem,
ContentStore contentStore,
InputStream stream,
String username) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
void |
execute() |
String |
getId() |
Map<String,String> |
getProperties() |
Date |
getStartDate() |
String |
getUsername() |
String |
toString() |
void |
update(long pBytesRead,
long pContentLength,
int pItems) |
public ContentItemUploadTask(ContentItem contentItem, ContentStore contentStore, InputStream stream, String username) throws Exception
Exception
public void update(long pBytesRead, long pContentLength, int pItems)
update
in interface org.apache.commons.fileupload.ProgressListener
public String getId()
public Date getStartDate()
public int compareTo(Object o)
compareTo
in interface Comparable
public String getUsername()
Copyright © 2009–2015 DuraSpace. All rights reserved.