weblogic.management.mbeans.custom
Class DefaultLogPathHelper
java.lang.Object
|
+--weblogic.management.mbeans.custom.DefaultLogPathHelper
- public class DefaultLogPathHelper
- extends java.lang.Object
- Author:
- Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
static java.lang.String |
changePathIfNecessary(java.lang.String aFileName)
if the file name is != null and it hasNoPath then add a path element to it
relative the domain directory |
static java.lang.String |
changePathIfNecessary(java.lang.String serverName,
java.lang.String aFileName)
if the file name is != null and it hasNoPath then add a path element to it
if serverDir is null the assuming relative to the domainDir
otherwise relative to the serverDir arg passed in |
static java.lang.String |
getRelativePathRelativeDomainDir(java.lang.String aFileName)
|
static java.lang.String |
getRelativePathRelativeServerDir(java.lang.String serverName,
java.lang.String aFileName)
|
static java.lang.String |
getRelativePrefixRelativeServerDir(java.lang.String serverName)
|
static boolean |
hasNoPath(java.lang.String checkMe)
|
static java.lang.String |
makeNameDefault(java.lang.String aFileName,
java.lang.String defaultName)
Way to take a null name and make it the default |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DefaultLogPathHelper
public DefaultLogPathHelper()
getRelativePathRelativeServerDir
public static java.lang.String getRelativePathRelativeServerDir(java.lang.String serverName,
java.lang.String aFileName)
getRelativePathRelativeDomainDir
public static java.lang.String getRelativePathRelativeDomainDir(java.lang.String aFileName)
getRelativePrefixRelativeServerDir
public static java.lang.String getRelativePrefixRelativeServerDir(java.lang.String serverName)
changePathIfNecessary
public static java.lang.String changePathIfNecessary(java.lang.String aFileName)
- if the file name is != null and it hasNoPath then add a path element to it
relative the domain directory
- Parameters:
aFileName
- Description of the Parameter- Returns:
- Description of the Return Value
changePathIfNecessary
public static java.lang.String changePathIfNecessary(java.lang.String serverName,
java.lang.String aFileName)
- if the file name is != null and it hasNoPath then add a path element to it
if serverDir is null the assuming relative to the domainDir
otherwise relative to the serverDir arg passed in
- Parameters:
serverName
- Description of the ParameteraFileName
- Description of the Parameter- Returns:
- Description of the Return Value
makeNameDefault
public static java.lang.String makeNameDefault(java.lang.String aFileName,
java.lang.String defaultName)
- Way to take a null name and make it the default
- Parameters:
aFileName
- Description of the ParameterdefaultName
- Description of the Parameter- Returns:
- Description of the Return Value
hasNoPath
public static boolean hasNoPath(java.lang.String checkMe)