public class SimpleDynamicContentImpl extends Content.Adapter implements DynamicContent
DynamicContent.Instance, DynamicContent.InstanceAdapterContent.Adapter, Content.State| Constructor and Description |
|---|
SimpleDynamicContentImpl(String template,
String mimeType) |
SimpleDynamicContentImpl(String template,
String mimeType,
boolean isMain) |
| Modifier and Type | Method and Description |
|---|---|
DynamicContent.Instance |
getExistingInstance(Properties tokenValues)
Retrieves an "instance" of this dynamic content, with placeholders
substituted using the provided properties.
|
String |
getMimeType()
Retrieve the MIME type for this dynamic content.
|
DynamicContent.Instance |
getOrCreateInstance(Properties tokenValues)
Retrieves an existing "instance" of this dynamic content, with placeholders
substituted, creating a new one if none already exists.
|
boolean |
isMain()
Reports whether this dynamic content represents the main JNLP document
for an app client.
|
String |
toString() |
isAvailable, resume, start, state, stop, suspendpublic DynamicContent.Instance getExistingInstance(Properties tokenValues)
DynamicContentgetExistingInstance in interface DynamicContenttokenValues - maps placeholder tokens to valuespublic DynamicContent.Instance getOrCreateInstance(Properties tokenValues)
DynamicContentgetOrCreateInstance in interface DynamicContenttokenValues - maps placeholder tokens to valuespublic String getMimeType()
DynamicContentgetMimeType in interface DynamicContentpublic boolean isMain()
DynamicContentisMain in interface DynamicContentCopyright © 2017. All rights reserved.