Class FtpFile

java.lang.Object
org.apache.commons.net.ftp.FTPFile
com.logicaldoc.importfolder.ftp.FtpFile
All Implemented Interfaces:
Serializable

public class FtpFile extends org.apache.commons.net.ftp.FTPFile
Represents a file in the FTP or FTPS protocol
Since:
8.0
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • FtpFile

      public FtpFile(String path, org.apache.commons.net.ftp.FTPFile wrappedFile)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getGroup

      public String getGroup()
      Overrides:
      getGroup in class org.apache.commons.net.ftp.FTPFile
    • getHardLinkCount

      public int getHardLinkCount()
      Overrides:
      getHardLinkCount in class org.apache.commons.net.ftp.FTPFile
    • getLink

      public String getLink()
      Overrides:
      getLink in class org.apache.commons.net.ftp.FTPFile
    • getName

      public String getName()
      Overrides:
      getName in class org.apache.commons.net.ftp.FTPFile
    • getRawListing

      public String getRawListing()
      Overrides:
      getRawListing in class org.apache.commons.net.ftp.FTPFile
    • getSize

      public long getSize()
      Overrides:
      getSize in class org.apache.commons.net.ftp.FTPFile
    • getTimestamp

      public Calendar getTimestamp()
      Overrides:
      getTimestamp in class org.apache.commons.net.ftp.FTPFile
    • getType

      public int getType()
      Overrides:
      getType in class org.apache.commons.net.ftp.FTPFile
    • getUser

      public String getUser()
      Overrides:
      getUser in class org.apache.commons.net.ftp.FTPFile
    • hasPermission

      public boolean hasPermission(int access, int permission)
      Overrides:
      hasPermission in class org.apache.commons.net.ftp.FTPFile
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isDirectory

      public boolean isDirectory()
      Overrides:
      isDirectory in class org.apache.commons.net.ftp.FTPFile
    • isFile

      public boolean isFile()
      Overrides:
      isFile in class org.apache.commons.net.ftp.FTPFile
    • isSymbolicLink

      public boolean isSymbolicLink()
      Overrides:
      isSymbolicLink in class org.apache.commons.net.ftp.FTPFile
    • isUnknown

      public boolean isUnknown()
      Overrides:
      isUnknown in class org.apache.commons.net.ftp.FTPFile
    • isValid

      public boolean isValid()
      Overrides:
      isValid in class org.apache.commons.net.ftp.FTPFile
    • setGroup

      public void setGroup(String group)
      Overrides:
      setGroup in class org.apache.commons.net.ftp.FTPFile
    • setHardLinkCount

      public void setHardLinkCount(int links)
      Overrides:
      setHardLinkCount in class org.apache.commons.net.ftp.FTPFile
    • setLink

      public void setLink(String link)
      Overrides:
      setLink in class org.apache.commons.net.ftp.FTPFile
    • setName

      public void setName(String name)
      Overrides:
      setName in class org.apache.commons.net.ftp.FTPFile
    • setPermission

      public void setPermission(int access, int permission, boolean value)
      Overrides:
      setPermission in class org.apache.commons.net.ftp.FTPFile
    • setRawListing

      public void setRawListing(String rawListing)
      Overrides:
      setRawListing in class org.apache.commons.net.ftp.FTPFile
    • setSize

      public void setSize(long size)
      Overrides:
      setSize in class org.apache.commons.net.ftp.FTPFile
    • setTimestamp

      public void setTimestamp(Calendar date)
      Overrides:
      setTimestamp in class org.apache.commons.net.ftp.FTPFile
    • setType

      public void setType(int type)
      Overrides:
      setType in class org.apache.commons.net.ftp.FTPFile
    • setUser

      public void setUser(String user)
      Overrides:
      setUser in class org.apache.commons.net.ftp.FTPFile
    • toFormattedString

      public String toFormattedString()
      Overrides:
      toFormattedString in class org.apache.commons.net.ftp.FTPFile
    • toFormattedString

      public String toFormattedString(String arg0)
      Overrides:
      toFormattedString in class org.apache.commons.net.ftp.FTPFile
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.commons.net.ftp.FTPFile
    • getPath

      public String getPath()
    • getWrappedFile

      public org.apache.commons.net.ftp.FTPFile getWrappedFile()