protected static class AbstractResource.SimpleEntry extends Object implements AbstractResource.ResourceEntry
Constructor and Description |
---|
AbstractResource.SimpleEntry(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getForm(String form)
Retrieve a particular form for this entry.
|
Collection<String> |
getForms()
Returns a list of forms associated with this entry.
|
String |
getKey()
Returns key for this entry (must not be null).
|
int |
hashCode() |
public String getForm(String form)
AbstractResource.ResourceEntry
getForm
in interface AbstractResource.ResourceEntry
form
- form to retrieve (null for the default)public Collection<String> getForms()
AbstractResource.ResourceEntry
getForms
in interface AbstractResource.ResourceEntry
public String getKey()
AbstractResource.ResourceEntry
getKey
in interface AbstractResource.ResourceEntry
Copyright © 2016. All rights reserved.