Constructor and Description |
---|
Resource(String content,
String contentType)
Creates a new resource with optional associated content type.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets the content of this resource.
|
String |
getContentType()
Gets the content type of this resource.
|
public String getContent()
public String getContentType()
null
if not specified.Copyright © 2020 Connect2id Ltd.. All rights reserved.