public class Content extends Object
| Constructor and Description |
|---|
Content() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public String getId()
Getter for the field id.
public void setId(String id)
Setter for the field id.
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.
Copyright © 2009–2019 DuraSpace. All rights reserved.