goldengate.common.file.filesystembased.specific
Class FilesystemBasedCommonsIo
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilesystemBasedCommonsIo
public FilesystemBasedCommonsIo()
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.