com.threerings.jpkg
Class PathUtils
java.lang.Object
com.threerings.jpkg.PathUtils
public class PathUtils
- extends Object
Small utility class for working with file paths.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathUtils
public PathUtils()
normalize
public static String normalize(String path)
- Normalize a path by removing all relative attributes, such as ./.. and stripping
any separators from the start and end of the path.
stripLeadingSeparators
public static String stripLeadingSeparators(String path)
- Strip any leading path separators from the start of the path.
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.