org.apache.jetspeed.modules.actions.portlets.designer
Class FormatPath

java.lang.Object
  extended byorg.apache.jetspeed.modules.actions.portlets.designer.FormatPath

public class FormatPath
extends java.lang.Object

Utility for formatting paths

Version:
$Id: FormatPath.java,v 1.1 2004/03/10 22:53:59 taylor Exp $
Author:
Jonas Lim

Constructor Summary
FormatPath()
           
 
Method Summary
static java.lang.String normalizeDirectoryPath(java.lang.String path)
          Given a directory path with Windows or Unix file separators, normalize to use Unix style separators and always append a final separator for the directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatPath

public FormatPath()
Method Detail

normalizeDirectoryPath

public static java.lang.String normalizeDirectoryPath(java.lang.String path)
Given a directory path with Windows or Unix file separators, normalize to use Unix style separators and always append a final separator for the directory.

Parameters:
path -
Returns:


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.