com.googlecode.jpattern.core.util
Class FileUtil

java.lang.Object
  extended by com.googlecode.jpattern.core.util.FileUtil

public abstract class FileUtil
extends java.lang.Object

Author:
Francesco Cina' 21/lug/2010

Constructor Summary
FileUtil()
           
 
Method Summary
static java.lang.String getExtension(java.lang.String filename)
           
static java.lang.String removeExtension(java.lang.String filename)
           
static java.lang.String removePath(java.lang.String filename)
          Restituisce il nome del file privo del path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

removePath

public static java.lang.String removePath(java.lang.String filename)
Restituisce il nome del file privo del path

Parameters:
fName - il nome completo del file (comprendente il path)
Returns:
il nome del file privo del path

removeExtension

public static java.lang.String removeExtension(java.lang.String filename)

getExtension

public static java.lang.String getExtension(java.lang.String filename)


Copyright © 2011. All Rights Reserved.