goldengate.ftp.simpleimpl.file
Class FileBasedDir

java.lang.Object
  extended by goldengate.common.file.AbstractDir
      extended by goldengate.common.file.filesystembased.FilesystemBasedDirImpl
          extended by goldengate.ftp.filesystembased.FilesystemBasedFtpDir
              extended by goldengate.ftp.simpleimpl.file.FileBasedDir
All Implemented Interfaces:
goldengate.common.file.DirInterface, FtpDir

public class FileBasedDir
extends FilesystemBasedFtpDir

FtpFile implementation based on true directories and files

Author:
Frederic Bregier

Field Summary
 
Fields inherited from class goldengate.common.file.filesystembased.FilesystemBasedDirImpl
filesystemBasedFtpDirJdk
 
Fields inherited from class goldengate.common.file.AbstractDir
currentDir, ISUNIX, optsMLSx, roots, session
 
Fields inherited from interface goldengate.common.file.DirInterface
SEPARATOR, SEPARATORCHAR
 
Constructor Summary
FileBasedDir(FtpSession session)
           
 
Method Summary
 FtpFile newFile(String path, boolean append)
          Create a new FtpFile
 
Methods inherited from class goldengate.ftp.filesystembased.FilesystemBasedFtpDir
setFile, setUniqueFile
 
Methods inherited from class goldengate.common.file.filesystembased.FilesystemBasedDirImpl
canRead, canWrite, changeDirectory, changeDirectoryNotChecked, exists, fileFull, getCRC, getFileFromPath, getFreeSpace, getMD5, getModificationTime, getModificationTime, getRelativePath, getSHA1, getTrueFile, initJdkDependent, isDirectory, isFile, isFullTime, list, listFull, lsInfo, mkdir, mlsxInfo, rmdir, wildcardFiles
 
Methods inherited from class goldengate.common.file.AbstractDir
changeParentDirectory, checkIdentify, clear, consolidatePath, getCanonicalPath, getCorrespondingRoot, getOptsMLSx, getPwd, getSession, initAfterIdentification, initWindowsSupport, isAbsoluteWindows, normalizePath, validatePath, validatePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface goldengate.common.file.DirInterface
canRead, canWrite, changeDirectory, changeDirectoryNotChecked, changeParentDirectory, checkIdentify, clear, exists, fileFull, getCRC, getFreeSpace, getMD5, getModificationTime, getOptsMLSx, getPwd, getSession, getSHA1, initAfterIdentification, isDirectory, isFile, list, listFull, mkdir, rmdir, validatePath
 

Constructor Detail

FileBasedDir

public FileBasedDir(FtpSession session)
Parameters:
session -
Method Detail

newFile

public FtpFile newFile(String path,
                       boolean append)
                throws goldengate.common.command.exception.CommandAbstractException
Description copied from interface: FtpDir
Create a new FtpFile

Returns:
the new Ftp FileInterface
Throws:
goldengate.common.command.exception.CommandAbstractException


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