public class ALDFilePathManipulator extends Object
Constructor and Description |
---|
ALDFilePathManipulator() |
Modifier and Type | Method and Description |
---|---|
static String |
getExtension(String str)
Gets extension from the filename, if any.
|
static String |
getFileName(String str)
Returns name without leading directories or file description (extension).
|
static String |
getPath(String str)
Get path.
|
static String |
removeExtension(String str)
Removes extension from filename, if any.
|
static String |
removeLeadingDirectories(String str)
Remove all leading pathname components from a filename.
|
public static String removeExtension(String str)
str
- Filename to process.public static String getExtension(String str)
str
- Filename to be processed.public static String removeLeadingDirectories(String str)
str
- Filename to be processed.public static String getPath(String str)
str
- Filename to be processed.Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.