Package org.duracloud.domain
Class Content
java.lang.Object
org.duracloud.domain.Content
Content - a stream of bits and properties to describe the stream.
- Author:
- Bill Branan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperties(String name, String value) Adds an item to the content properties mapgetId()Getter for the fieldid.Getter for the fieldproperties.Getter for the fieldstream.voidSetter for the fieldid.voidsetProperties(Map<String, String> properties) Setter for the fieldproperties.voidsetStream(InputStream stream) Setter for the fieldstream.
-
Constructor Details
-
Content
public Content()
-
-
Method Details
-
getId
Getter for the field
id. -
setId
Setter for the field
id. -
getProperties
Getter for the field
properties. -
setProperties
Setter for the field
properties. -
addProperties
Adds an item to the content properties map
- Parameters:
name- properties keyvalue- properties value
-
getStream
Getter for the field
stream. -
setStream
Setter for the field
stream.
-