org.bff.javampd
Class Utils

java.lang.Object
  extended by org.bff.javampd.Utils

public class Utils
extends java.lang.Object

Utils contains only public static utility methods.


Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String removeSlashes(java.lang.String path)
          Removes leading or trailing slashes from a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

removeSlashes

public static java.lang.String removeSlashes(java.lang.String path)
Removes leading or trailing slashes from a string.

Parameters:
path - the string to remove leading or trailing slashes
Returns:
the string without leading or trailing slashes