Class AbstractFileInfo<F>
java.lang.Object
org.springframework.integration.file.remote.AbstractFileInfo<F>
- Type Parameters:
- F- The target protocol file type.
- All Implemented Interfaces:
- Comparable<FileInfo<F>>,- FileInfo<F>
- Direct Known Subclasses:
- FtpFileInfo,- SftpFileInfo,- SmbFileInfo
public abstract class AbstractFileInfo<F>
extends Object
implements FileInfo<F>, Comparable<FileInfo<F>>
Abstract implementation of 
FileInfo; provides a setter
 for the remote directory and a generic toString implementation.- Since:
- 2.1
- Author:
- Gary Russell
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.integration.file.remote.FileInfogetFileInfo, getFilename, getModified, getPermissions, getSize, isDirectory, isLink
- 
Constructor Details- 
AbstractFileInfopublic AbstractFileInfo()
 
- 
- 
Method Details- 
setRemoteDirectory- Parameters:
- remoteDirectory- the remoteDirectory to set
 
- 
getRemoteDirectory- Specified by:
- getRemoteDirectoryin interface- FileInfo<F>
- Returns:
- the remote directory in which the file resides
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<F>
 
- 
toJson
- 
toString
 
-