public static class DynamicContent.InstanceAdapter extends Object implements DynamicContent.Instance
| Constructor and Description |
|---|
InstanceAdapter(String text)
Creates a new instance of InstanceImpl (!) holding the result of a
specific substitution of values for placeholders.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Returns the content associated with this InstanceImpl.
|
Date |
getTimestamp()
Returns the time stamp associated with this content InstanceImpl.
|
public InstanceAdapter(String text)
text - the content for this new InstanceImplpublic Date getTimestamp()
getTimestamp in interface DynamicContent.Instancepublic String getText()
getText in interface DynamicContent.InstanceCopyright © 2017. All rights reserved.