|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.duracloud.domain.Content
public class Content
Content - a stream of bits and properties to describe the stream.
Constructor Summary | |
---|---|
Content()
|
Method Summary | |
---|---|
void |
addProperties(String name,
String value)
Adds an item to the content properties map |
String |
getId()
Getter for the field id . |
Map<String,String> |
getProperties()
Getter for the field properties . |
InputStream |
getStream()
Getter for the field stream . |
void |
setId(String id)
Setter for the field id . |
void |
setProperties(Map<String,String> properties)
Setter for the field properties . |
void |
setStream(InputStream stream)
Setter for the field stream . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Content()
Method Detail |
---|
public String getId()
Getter for the field id
.
public void setId(String id)
Setter for the field id
.
public Map<String,String> getProperties()
Getter for the field properties
.
public void setProperties(Map<String,String> properties)
Setter for the field properties
.
public void addProperties(String name, String value)
Adds an item to the content properties map
name
- properties keyvalue
- properties valuepublic InputStream getStream()
Getter for the field stream
.
public void setStream(InputStream stream)
Setter for the field stream
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |