com.atlassian.jira.web.util
Class HelpUtil

java.lang.Object
  extended by com.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
protected  org.apache.log4j.Logger 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.Logger log
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-2009 Atlassian. All Rights Reserved.