wt.epm.util
Class ContentUtil

java.lang.Object
  extended bywt.epm.util.ContentUtil

public class ContentUtil
extends Object


Field Summary
private static String APPLICATION
           
private static String URL
           
 
Constructor Summary
ContentUtil()
           
 
Method Summary
static String getName(ApplicationData content)
          Get the name of a ContentItem.
static String getName(URLData content)
          Get the name of a ContentItem.
static ContentItem getNamedContent(ContentHolder ch, String name)
          Find a ContentItem by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL

private static final String URL
See Also:
Constant Field Values

APPLICATION

private static final String APPLICATION
See Also:
Constant Field Values
Constructor Detail

ContentUtil

public ContentUtil()
Method Detail

getName

public static String getName(URLData content)
Get the name of a ContentItem.

Parameters:
content - the ContentItem

getName

public static String getName(ApplicationData content)
Get the name of a ContentItem.

Parameters:
content - the ContentItem

getNamedContent

public static ContentItem getNamedContent(ContentHolder ch,
                                          String name)
Find a ContentItem by name.

Parameters:
ch - the contentHolder to be searched
name - the fileName of the contentItem to be found