goldengate.common.file.filesystembased.specific
Class FilesystemBasedDirJdkAbstract
java.lang.Object
goldengate.common.file.filesystembased.specific.FilesystemBasedDirJdkAbstract
- Direct Known Subclasses:
- FilesystemBasedDirJdk5, FilesystemBasedDirJdk6
public abstract class FilesystemBasedDirJdkAbstract
- extends Object
Abstract class to allow specific function depending on the underlying JDK to
used.
- Author:
- Frederic Bregier
Field Summary |
static boolean |
ueApacheCommonsIo
Should the Ftp Server use the Apache Commons Io or not: if not wildcard
and freespace (ALLO) will not be supported. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ueApacheCommonsIo
public static boolean ueApacheCommonsIo
- Should the Ftp Server use the Apache Commons Io or not: if not wildcard
and freespace (ALLO) will not be supported.
FilesystemBasedDirJdkAbstract
public FilesystemBasedDirJdkAbstract()
getFreeSpace
public abstract long getFreeSpace(File directory)
- Parameters:
directory
-
- Returns:
- the free space of the given Directory
canExecute
public abstract boolean canExecute(File file)
- Result of ls on FileInterface
- Parameters:
file
-
- Returns:
- True if the file is executable
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.