|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.parsers.internal.importer.GLAHelper
Helper class for finding the GLA adapter configuration file.
| Field Summary | |
|---|---|
protected static short |
platform
|
| Constructor Summary | |
|---|---|
GLAHelper()
|
|
| Method Summary | |
|---|---|
protected static java.net.URL |
find(java.lang.reflect.Method find,
java.lang.Object bundle,
java.lang.String config_file)
Find the URL of the adapter configuration file |
static java.lang.String |
getAbsoluteAdapterPath(java.util.Map table,
java.lang.String nameSpace,
boolean useOriginalAdapter)
Get the absolute path of the adapter configuration file. |
static java.lang.String |
getAdapterPath(java.util.Map table,
java.lang.String nameSpace,
boolean useOriginalAdapter)
Get the adapter configuration file path. |
static java.lang.String |
getAdapterPathKey(java.util.Map table)
Get the key that is used to find the adapter configuration file name in the hash table. |
protected static java.lang.String |
getNLAdapterPath(java.util.Map table,
java.lang.String configFilePath,
java.lang.reflect.Method find,
java.lang.Object bundle)
Get the adapter configuration file path based on locale and encoding. |
protected static java.lang.String |
getPath(java.util.Map table,
java.lang.reflect.Method find,
java.lang.Object bundle,
java.lang.String configFilePath)
Get the full path of the adapter configuration file |
protected static void |
initialize()
Initializes the context in which this class is running. |
static boolean |
isWorkbenchMode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static short platform
| Constructor Detail |
public GLAHelper()
| Method Detail |
public static java.lang.String getAdapterPath(java.util.Map table,
java.lang.String nameSpace,
boolean useOriginalAdapter)
throws org.eclipse.hyades.logging.parsers.LogParserException
table - the parser parameters hash stablenameSpace - the plugin name if running in the workbench, null otherwiseuseOriginalAdapter - boolean to indicate to use the original adapter file specification
stored in the hash table with key originalAdapter
org.eclipse.hyades.logging.parsers.LogParserExceptionprotected static void initialize()
public static java.lang.String getAbsoluteAdapterPath(java.util.Map table,
java.lang.String nameSpace,
boolean useOriginalAdapter)
throws org.eclipse.hyades.logging.parsers.LogParserException
table - the parser parameters hash stablenameSpace - the plugin name if running in the workbench, null otherwiseuseOriginalAdapter - boolean to indicate to use the original adapter file specification
stored in the hash table with key originalAdapter
org.eclipse.hyades.logging.parsers.LogParserExceptionpublic static java.lang.String getAdapterPathKey(java.util.Map table)
table - the parser parameters hash table
public static boolean isWorkbenchMode()
protected static java.lang.String getNLAdapterPath(java.util.Map table,
java.lang.String configFilePath,
java.lang.reflect.Method find,
java.lang.Object bundle)
table - Hash table of input parametersconfigFilePath - The adapter configuration file to find.find - The method to find the filebundle - - plugin bundle
protected static java.lang.String getPath(java.util.Map table,
java.lang.reflect.Method find,
java.lang.Object bundle,
java.lang.String configFilePath)
table - Hash table of input parametersfind - The method to use to find the URLbundle - The plugin bundleconfigFilePath -
protected static java.net.URL find(java.lang.reflect.Method find,
java.lang.Object bundle,
java.lang.String config_file)
find - The method to find the adapter filebundle - - The plugin bundleconfig_file - - the adapter configuration file to find
|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||