eu.scape_project.pit.util
Class StringUtils

java.lang.Object
  extended by eu.scape_project.pit.util.StringUtils

public final class StringUtils
extends Object

String utilities

Version:
${global_wrapper_version}
Author:
${global_project_prefix} Project Consortium

Method Summary
static String getFileExtension(String path)
          Get file extension
static String getFilenameFromURI(URI uri, boolean preserveExtension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.