Modifiers | Name | Description |
---|---|---|
static char |
BACKSLASH_CHARACTER |
|
static java.lang.String |
BACKSLASH_STRING |
|
static java.lang.String |
DOUBLE_BACKSLASH_CHARACTERS |
|
static java.lang.String |
DOUBLE_SLASH_CHARACTERS |
|
static java.lang.String |
RELATIVE_CURRENT_DIRECTORY_PATH |
|
static char |
SLASH_CHARACTER |
|
static java.lang.String |
SLASH_STRING |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
adjustRelativePath(java.lang.String str, java.lang.String root, ModelItem contextModelItem) |
|
static java.lang.String |
createRelativePath(java.lang.String path, java.lang.String root, ModelItem contextModelItem) |
|
static java.lang.String |
denormalizePath(java.lang.String path) |
|
static java.lang.String |
ensureFilePathIsUrl(java.lang.String url) |
|
static java.lang.String |
escapeForbiddenCharacters(java.lang.String path) Escapes some characters forbidden by RFC 2396 |
|
static java.lang.String |
expandPath(java.lang.String path, AbstractWsdlModelItem<?> modelItem) |
|
static java.lang.String |
expandPath(java.lang.String path, AbstractWsdlModelItem<?> modelItem, PropertyExpansionContext context) |
|
static java.lang.String |
fixForwardSlashesInPath(java.lang.String path) |
|
static java.lang.String |
getAbsoluteFolder(java.lang.String path) |
|
static java.lang.String |
getExpandedResourceRoot(ModelItem modelItem) |
|
static java.lang.String |
getExpandedResourceRoot(ModelItem modelItem, PropertyExpansionContext context) |
|
static java.util.Set<java.lang.String> |
getFileSubdirectoriesSet(java.lang.String filePath) @param filePath basically it is file that is why last item excludes from subdirectories set. |
|
static java.lang.String |
getPathFromURL(java.net.URL url) |
|
static java.lang.String |
getRawPath(URI uri) |
|
static boolean |
isAbsolutePath(java.lang.String path) |
|
static boolean |
isFilePath(java.lang.String path) |
|
static boolean |
isHttpPath(java.lang.String str) |
|
static boolean |
isRelativePath(java.lang.String str) |
|
static boolean |
isValidUri(java.lang.String uriString) |
|
static boolean |
isValidUri(java.net.URI uri) |
|
static java.lang.String |
normalizePath(java.lang.String path, boolean usingSlashSymbol) normalize path using specific separator symbol |
|
static java.lang.String |
normalizePath(java.lang.String path) |
|
static java.lang.String |
normalizePathExtended(java.lang.String path) different OS use different separator symbol. |
|
static java.lang.String |
relativize(java.lang.String path, java.lang.String rootPath) |
|
static java.lang.String |
relativizeResourcePath(java.lang.String path, ModelItem modelItem) |
|
static java.lang.String |
removeTrailingSlash(java.lang.String path) |
|
static java.lang.String |
resolveResourcePath(java.lang.String path, ModelItem modelItem) |
|
static boolean |
targetPathExists(java.lang.String path) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Escapes some characters forbidden by RFC 2396. # and % are skipped because they might be part of the URL
filePath
- basically it is file that is why last item excludes from subdirectories set.normalize path using specific separator symbol
different OS use different separator symbol. this function translate different paths at single view to compare them correctly.