
syncloud.storage.PathUtils Maven / Gradle / Ivy
The newest version!
package syncloud.storage;
import java.util.List;
public class PathUtils {
public static String shortName(PathKey pathKey) {
String shotName = "";
List components = pathKey.getPathComponents();
if (!components.isEmpty()) {
return components.get(components.size() - 1);
}
return shotName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy