com.atlassian.jira.web.util
Class HelpUtil

java.lang.Object
  extended bycom.atlassian.jira.web.util.HelpUtil

public class HelpUtil
extends Object

Helps look up titles and URLs of help links.


Nested Class Summary
 class HelpUtil.HelpPath
           
 
Field Summary
(package private) static HelpUtil instance
           
protected  org.apache.log4j.Category log
           
 
Constructor Summary
HelpUtil()
           
HelpUtil(Properties externalProperties)
           
HelpUtil(String externalPropertiesFileLocation, String internalPropertiesFileLocation)
           
 
Method Summary
 HelpUtil.HelpPath getHelpPath(String helpPathKey)
           
static HelpUtil getInstance()
           
protected  void init(String externalPropertiesFileLocation, String internalPropertiesFileLocation)
           
protected  void loadExternalProperties(Properties properties, boolean reload)
           
protected  HelpUtil.HelpPath loadHelpPath(String name, Properties props, String prefix, String suffix, HelpUtil.HelpPath defaultHelpPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.log4j.Category log

instance

static HelpUtil instance
Constructor Detail

HelpUtil

public HelpUtil()

HelpUtil

public HelpUtil(String externalPropertiesFileLocation,
                String internalPropertiesFileLocation)

HelpUtil

public HelpUtil(Properties externalProperties)
Method Detail

init

protected void init(String externalPropertiesFileLocation,
                    String internalPropertiesFileLocation)

getHelpPath

public HelpUtil.HelpPath getHelpPath(String helpPathKey)

loadExternalProperties

protected void loadExternalProperties(Properties properties,
                                      boolean reload)

loadHelpPath

protected HelpUtil.HelpPath loadHelpPath(String name,
                                         Properties props,
                                         String prefix,
                                         String suffix,
                                         HelpUtil.HelpPath defaultHelpPath)

getInstance

public static HelpUtil getInstance()


Copyright © 2002-2006 Atlassian. All Rights Reserved.