Class LaunchTargetUtils
java.lang.Object
org.eclipse.launchbar.core.target.LaunchTargetUtils
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionGet the names of all existing launch targets.static booleanisInvalidName(String name) Check for invalid characters.static StringReplace launch configuration name disallowed characters with underscores.static StringsanitizeName(String name) Replace any invalid characters with a safe value.
-
Method Details
-
isInvalidName
Check for invalid characters.- Parameters:
name- The name to check.- Returns:
- true if name contains characters in
INVALID_NAME_PATTERN.
-
sanitizeName
-
sanitizeLaunchConfigurationName
Replace launch configuration name disallowed characters with underscores. Copied from org.eclipse.debug.internal.core.LaunchConfigurationManager LaunchManager.isValidLaunchConfigurationName() can be used to verify a name.- Parameters:
name- the name to sanitize.- Since:
- 3.1
-
getExistingLaunchTargetNames
-