public class FilepathUtility
extends java.lang.Object
| Constructor and Description |
|---|
FilepathUtility() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getFilename(java.lang.String pFilePath,
java.lang.String pFileSep)
Parses the filename out of a full qualified file path
|
static java.lang.String |
getParentName(java.lang.String pFilePath,
java.lang.String pFileSep)
Parses the parent name out of a full qualified file path
|
static java.lang.String |
getParentPath(java.lang.String pFilePath,
java.lang.String pFileSep)
Parses the full parent path out of a full qualified file path
|
static java.lang.String |
getSuffix(java.lang.String pFilePath,
java.lang.String pFileSep)
Parses the suffix out of a full qualified file path
|
static boolean |
isLocalFile(java.lang.String pFilePath)
checks if the given file path corresponds to a local file.
|
public static boolean isLocalFile(java.lang.String pFilePath)
pFilePath - the file path to checktrue if the given file path corresponds to a local
file, otherwise falsepublic static java.lang.String getParentPath(java.lang.String pFilePath,
java.lang.String pFileSep)
pFilePath - the file path to parsepFileSep - the file separatorpublic static java.lang.String getParentName(java.lang.String pFilePath,
java.lang.String pFileSep)
pFilePath - the file path to parsepFileSep - the file separatorpublic static java.lang.String getFilename(java.lang.String pFilePath,
java.lang.String pFileSep)
pFilePath - the file path to parsepFileSep - the file separatorpublic static java.lang.String getSuffix(java.lang.String pFilePath,
java.lang.String pFileSep)
pFilePath - the file path to parsepFileSep - the file separatorCopyright © 2015 Micro Focus GmbH. All rights reserved.