Class FtpFileInfo

java.lang.Object
org.springframework.integration.file.remote.AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.session.FtpFileInfo
All Implemented Interfaces:
java.lang.Comparable<org.springframework.integration.file.remote.FileInfo<org.apache.commons.net.ftp.FTPFile>>, org.springframework.integration.file.remote.FileInfo<org.apache.commons.net.ftp.FTPFile>

public class FtpFileInfo
extends org.springframework.integration.file.remote.AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>
A FileInfo implementation for FTP/FTPS.
Since:
2.1
  • Constructor Summary

    Constructors 
    Constructor Description
    FtpFileInfo​(org.apache.commons.net.ftp.FTPFile ftpFile)  
  • Method Summary

    Modifier and Type Method Description
    org.apache.commons.net.ftp.FTPFile getFileInfo()  
    java.lang.String getFilename()  
    long getModified()  
    java.lang.String getPermissions()  
    long getSize()  
    boolean isDirectory()  
    boolean isLink()  

    Methods inherited from class org.springframework.integration.file.remote.AbstractFileInfo

    compareTo, getRemoteDirectory, setRemoteDirectory, toJson, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FtpFileInfo

      public FtpFileInfo​(org.apache.commons.net.ftp.FTPFile ftpFile)
  • Method Details