public class PlatformNameFormat
extends java.lang.Object
| Constructor and Description |
|---|
PlatformNameFormat() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPlatformName(java.lang.String repositoryName)
Returns the platform name for a given repository name.
|
static java.lang.String |
getPlatformPath(java.lang.String repoPath)
Returns the platform path for the given repository one.
|
static java.lang.String |
getRepositoryName(java.lang.String platformName)
Returns the repository name for a given platform name.
|
static java.lang.String |
getRepositoryPath(java.lang.String path)
Returns the repository path for the given platform one.
|
static java.lang.String |
getRepositoryPath(java.lang.String path,
boolean respectDotDir)
Returns the repository path for the given platform one.
|
public static java.lang.String getPlatformName(java.lang.String repositoryName)
repositoryName - the repository namepublic static java.lang.String getPlatformPath(java.lang.String repoPath)
repoPath - the repository pathpublic static java.lang.String getRepositoryName(java.lang.String platformName)
platformName - the platform namepublic static java.lang.String getRepositoryPath(java.lang.String path)
path - the platform pathpublic static java.lang.String getRepositoryPath(java.lang.String path,
boolean respectDotDir)
path - the platform pathrespectDotDir - if true, all ".dir" are removed."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"