goldengate.common.file.filesystembased.specific
Class FilesystemBasedCommonsIo

java.lang.Object
  extended by goldengate.common.file.filesystembased.specific.FilesystemBasedCommonsIo

public class FilesystemBasedCommonsIo
extends Object

This class enables to not set a dependencies on Apache Commons IO if wanted, but loosing freespace and wildcard support.

Author:
Frederic Bregier

Constructor Summary
FilesystemBasedCommonsIo()
           
 
Method Summary
static long freeSpace(String pathname)
           
static FileFilter getWildcardFileFilter(String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesystemBasedCommonsIo

public FilesystemBasedCommonsIo()
Method Detail

freeSpace

public static long freeSpace(String pathname)
Parameters:
pathname -
Returns:
the free space of the given pathname

getWildcardFileFilter

public static FileFilter getWildcardFileFilter(String dir)
Parameters:
dir -
Returns:
The associated FileFilter


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.