| Constructor and Description |
|---|
HistoneStringResource(String content,
String baseHref,
String contentType) |
HistoneStringResource(String baseHref,
String contentType,
String content,
Map<String,Object> additionalParams)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getBaseHref()
Return a base href for this resource.
|
String |
getContent() |
String |
getContentType() |
public HistoneStringResource(String content, String baseHref, String contentType)
public String getContent() throws IOException
getContent in interface Resource<String>IOException - if the content could not be openedpublic String getBaseHref()
ResourcegetBaseHref in interface Resource<String>public String getContentType()
getContentType in interface Resource<String>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017. All rights reserved.