Package com.logicaldoc.importfolder.ftp
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:
-
Field Summary
Fields inherited from class org.apache.commons.net.ftp.FTPFile
DIRECTORY_TYPE, EXECUTE_PERMISSION, FILE_TYPE, GROUP_ACCESS, READ_PERMISSION, SYMBOLIC_LINK_TYPE, UNKNOWN_TYPE, USER_ACCESS, WORLD_ACCESS, WRITE_PERMISSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
int
getLink()
getName()
getPath()
long
getSize()
int
getType()
getUser()
org.apache.commons.net.ftp.FTPFile
int
hashCode()
boolean
hasPermission
(int access, int permission) boolean
boolean
isFile()
boolean
boolean
boolean
isValid()
void
void
setHardLinkCount
(int links) void
void
void
setPermission
(int access, int permission, boolean value) void
setRawListing
(String rawListing) void
setSize
(long size) void
setTimestamp
(Calendar date) void
setType
(int type) void
toFormattedString
(String arg0) toString()
-
Constructor Details
-
FtpFile
-
-
Method Details
-
equals
-
getGroup
- Overrides:
getGroup
in classorg.apache.commons.net.ftp.FTPFile
-
getHardLinkCount
public int getHardLinkCount()- Overrides:
getHardLinkCount
in classorg.apache.commons.net.ftp.FTPFile
-
getLink
- Overrides:
getLink
in classorg.apache.commons.net.ftp.FTPFile
-
getName
- Overrides:
getName
in classorg.apache.commons.net.ftp.FTPFile
-
getRawListing
- Overrides:
getRawListing
in classorg.apache.commons.net.ftp.FTPFile
-
getSize
public long getSize()- Overrides:
getSize
in classorg.apache.commons.net.ftp.FTPFile
-
getTimestamp
- Overrides:
getTimestamp
in classorg.apache.commons.net.ftp.FTPFile
-
getType
public int getType()- Overrides:
getType
in classorg.apache.commons.net.ftp.FTPFile
-
getUser
- Overrides:
getUser
in classorg.apache.commons.net.ftp.FTPFile
-
hasPermission
public boolean hasPermission(int access, int permission) - Overrides:
hasPermission
in classorg.apache.commons.net.ftp.FTPFile
-
hashCode
public int hashCode() -
isDirectory
public boolean isDirectory()- Overrides:
isDirectory
in classorg.apache.commons.net.ftp.FTPFile
-
isFile
public boolean isFile()- Overrides:
isFile
in classorg.apache.commons.net.ftp.FTPFile
-
isSymbolicLink
public boolean isSymbolicLink()- Overrides:
isSymbolicLink
in classorg.apache.commons.net.ftp.FTPFile
-
isUnknown
public boolean isUnknown()- Overrides:
isUnknown
in classorg.apache.commons.net.ftp.FTPFile
-
isValid
public boolean isValid()- Overrides:
isValid
in classorg.apache.commons.net.ftp.FTPFile
-
setGroup
- Overrides:
setGroup
in classorg.apache.commons.net.ftp.FTPFile
-
setHardLinkCount
public void setHardLinkCount(int links) - Overrides:
setHardLinkCount
in classorg.apache.commons.net.ftp.FTPFile
-
setLink
- Overrides:
setLink
in classorg.apache.commons.net.ftp.FTPFile
-
setName
- Overrides:
setName
in classorg.apache.commons.net.ftp.FTPFile
-
setPermission
public void setPermission(int access, int permission, boolean value) - Overrides:
setPermission
in classorg.apache.commons.net.ftp.FTPFile
-
setRawListing
- Overrides:
setRawListing
in classorg.apache.commons.net.ftp.FTPFile
-
setSize
public void setSize(long size) - Overrides:
setSize
in classorg.apache.commons.net.ftp.FTPFile
-
setTimestamp
- Overrides:
setTimestamp
in classorg.apache.commons.net.ftp.FTPFile
-
setType
public void setType(int type) - Overrides:
setType
in classorg.apache.commons.net.ftp.FTPFile
-
setUser
- Overrides:
setUser
in classorg.apache.commons.net.ftp.FTPFile
-
toFormattedString
- Overrides:
toFormattedString
in classorg.apache.commons.net.ftp.FTPFile
-
toFormattedString
- Overrides:
toFormattedString
in classorg.apache.commons.net.ftp.FTPFile
-
toString
- Overrides:
toString
in classorg.apache.commons.net.ftp.FTPFile
-
getPath
-
getWrappedFile
public org.apache.commons.net.ftp.FTPFile getWrappedFile()
-