public class PathUtils extends Object
The PathUtils class contains static methods that allow you to perform various operations on file paths in the GroupDocs.Viewer component.
Example usage:
String combinedPath = PathUtils.combine("part", "of", "path");
String fileName = PathUtils.getFileName("/path/to/file.txt");
| Modifier and Type | Method and Description |
|---|---|
static String |
combine(String... params)
Combine paths parts using separator.
|
static String |
getFileName(String path)
Gets file name.
|
Copyright © 2024. All rights reserved.