org.apache.maven.archetype.common.util
Class PathUtils

java.lang.Object
  extended by org.apache.maven.archetype.common.util.PathUtils

public class PathUtils
extends Object

Author:
rafale

Constructor Summary
PathUtils()
           
 
Method Summary
static String convertPathForOS(String path)
          This method converts all \ or / chars to File.separatorChar.
static String getDirectory(String file, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathUtils

public PathUtils()
Method Detail

convertPathForOS

public static String convertPathForOS(String path)
This method converts all \ or / chars to File.separatorChar.

Parameters:
path -
Returns:

getDirectory

public static String getDirectory(String file,
                                  int level)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.