|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.binaryfantasy.murq.ContentDirectory
public class ContentDirectory
Tracks SourceKey to
ContentId relationships and handles the selection of locale
appropriate candidates.
FOR INTERNAL USE ONLY.
| Method Summary | |
|---|---|
SourceKey |
findSourceKey(String contentId,
Locale locale)
Returns the most appropriate SourceKey for the specified
contentId and locale using the method
described in the java
ResourceBundle.getBundle(java.lang.String, java.util.Locale,java.lang.ClassLoader)
documentation. |
Set<String> |
getContentIds()
Returns a Set of all ContentIds present
in the ISource, including
protected. |
Set<SourceKey> |
getSourceKeys()
Returns a Set of all
SourceKeys present in the
ISource, including protected. |
Set<SourceKey> |
getSourceKeys(String contentId)
Returns a Set of all
SourceKeys related to the
specified contentId. |
void |
onSourceEvent(SourceEvent event)
Called when a SourceEvent is fired. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void onSourceEvent(SourceEvent event)
ISourceListenerSourceEvent is fired.
onSourceEvent in interface ISourceListenerevent - the event to be handled.public Set<String> getContentIds()
Set of all ContentIds present
in the ISource, including
protected.
Set of all ContentIds present
in the ISource, including
protected.public Set<SourceKey> getSourceKeys()
Set of all
SourceKeys present in the
ISource, including protected.
Set of all
SourceKeys present in the
ISource, including
protected.public Set<SourceKey> getSourceKeys(String contentId)
Set of all
SourceKeys related to the
specified contentId.
Set of all
SourceKeys related to the
specified contentId.
public SourceKey findSourceKey(String contentId,
Locale locale)
SourceKey for the specified
contentId and locale using the method
described in the java
ResourceBundle.getBundle(java.lang.String, java.util.Locale,java.lang.ClassLoader)
documentation.
SourceKey for the specified
contentId and locale.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||