goldengate.common.file.filesystembased.specific
Class FilesystemBasedDirJdk6

java.lang.Object
  extended by goldengate.common.file.filesystembased.specific.FilesystemBasedDirJdkAbstract
      extended by goldengate.common.file.filesystembased.specific.FilesystemBasedDirJdk6

public class FilesystemBasedDirJdk6
extends FilesystemBasedDirJdkAbstract

JDK6 version of specific functions for Filesystem.

Author:
Frederic Bregier

Field Summary
 
Fields inherited from class goldengate.common.file.filesystembased.specific.FilesystemBasedDirJdkAbstract
ueApacheCommonsIo
 
Constructor Summary
FilesystemBasedDirJdk6()
           
 
Method Summary
 boolean canExecute(File file)
          Result of ls on FileInterface
 long getFreeSpace(File directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesystemBasedDirJdk6

public FilesystemBasedDirJdk6()
Method Detail

canExecute

public boolean canExecute(File file)
Description copied from class: FilesystemBasedDirJdkAbstract
Result of ls on FileInterface

Specified by:
canExecute in class FilesystemBasedDirJdkAbstract
Parameters:
file -
Returns:
True if the file is executable

getFreeSpace

public long getFreeSpace(File directory)
Specified by:
getFreeSpace in class FilesystemBasedDirJdkAbstract
Parameters:
directory -
Returns:
the free space of the given Directory


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