org.ow2.jonas.lib.management.extensions.util
Class FileManagementUtils

java.lang.Object
  extended by org.ow2.jonas.lib.management.extensions.util.FileManagementUtils

public final class FileManagementUtils
extends Object

File management util.

Author:
eyindanga

Method Summary
static String extractDirname(String p_Path)
          Extract the dirname of complete path.
static String extractFilename(String p_Path)
          Extract the filename of complete path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

extractDirname

public static String extractDirname(String p_Path)
Extract the dirname of complete path.

Parameters:
p_Path - Complete path (directory and filename)
Returns:
The dirname or null

extractFilename

public static String extractFilename(String p_Path)
Extract the filename of complete path.

Parameters:
p_Path - Complete path (directory and filename)
Returns:
The filename or null


Copyright © 2010 OW2 Consortium. All Rights Reserved.