| java.lang.Object org.geotools.graph.util.StringUtil
StringUtil | public class StringUtil (Code) | | Various string utilities.
|
addExtIfNecessary | public static String addExtIfNecessary(String filename, String ext)(Code) | | Places an extension on a filename if it does not already exist.
Parameters: filename - Path to the file. Parameters: ext - Extension of the file. |
postfixFilename | public static String postfixFilename(String filename, String postfix)(Code) | | Places a post fix on a filename just before the extension dot.
|
prefixFilename | public static String prefixFilename(String path, String prefix)(Code) | | Places a prefix on the filename.
Note: Only works for windows style paths.
|
strip | public static String strip(String s)(Code) | | Strips any white space of the end of a string.
|
|
|