eu.scape_project.pit.util
Class StringUtils
java.lang.Object
eu.scape_project.pit.util.StringUtils
public final class StringUtils
- extends Object
String utilities
- Version:
- ${global_wrapper_version}
- Author:
- ${global_project_prefix} Project Consortium
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFileExtension
public static String getFileExtension(String path)
- Get file extension
- Parameters:
path
- Path of the file
- Returns:
- file extension
getFilenameFromURI
public static String getFilenameFromURI(URI uri,
boolean preserveExtension)
- Parameters:
uri
- preserveExtension
-
- Returns:
- A string file name derived from the URI
Copyright © 2013. All Rights Reserved.