public class FtpFileInfoImpl extends Object implements FtpFileInfo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
collection |
protected String |
date |
protected String |
name |
protected long |
size |
protected String |
time |
| Constructor and Description |
|---|
FtpFileInfoImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDate() |
String |
getName() |
long |
getSize() |
String |
getTime() |
boolean |
isCollection() |
boolean |
parseDir(String fileLine,
String systemType) |
protected boolean |
parseUnixL8(String fileLine) |
protected boolean |
parseWindowsNT(String fileLine) |
void |
setDate(String date) |
void |
setName(String name) |
void |
setSize(long size) |
void |
setTime(String time) |
void |
setType(boolean collection) |
protected String name
protected long size
protected boolean collection
protected String date
protected String time
public void setName(String name)
setName in interface FtpFileInfopublic String getName()
getName in interface FtpFileInfopublic void setSize(long size)
setSize in interface FtpFileInfopublic long getSize()
getSize in interface FtpFileInfopublic void setType(boolean collection)
setType in interface FtpFileInfopublic boolean isCollection()
isCollection in interface FtpFileInfopublic void setDate(String date)
setDate in interface FtpFileInfopublic String getDate()
getDate in interface FtpFileInfopublic void setTime(String time)
setTime in interface FtpFileInfopublic String getTime()
getTime in interface FtpFileInfopublic boolean parseDir(String fileLine, String systemType)
parseDir in interface FtpFileInfoprotected boolean parseWindowsNT(String fileLine)
protected boolean parseUnixL8(String fileLine)
Copyright © 2017 eXo Platform SAS. All Rights Reserved.