public class FtpFileInfoImpl extends Object implements FtpFileInfo
| Modifier and Type | Field and Description |
|---|---|
protected int |
_day |
protected boolean |
_isCollection |
protected String |
_month |
protected String |
_name |
protected long |
_size |
protected String |
_time |
protected String |
dateTime |
protected static org.exoplatform.services.log.Log |
LOG |
static String[] |
MONTHES |
static String |
TIME_MASK |
| Constructor and Description |
|---|
FtpFileInfoImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDateTime() |
int |
getDay() |
String |
getMonth() |
String |
getName() |
long |
getSize() |
String |
getTime() |
void |
initFromNode(javax.jcr.Node node) |
boolean |
isCollection() |
void |
setDateTime(String dateTime) |
void |
setName(String name) |
void |
setSize(long size) |
void |
setType(boolean collection) |
protected static final org.exoplatform.services.log.Log LOG
protected String _name
protected boolean _isCollection
protected long _size
protected String dateTime
protected String _month
protected int _day
protected String _time
public static final String[] MONTHES
public static final String TIME_MASK
public void initFromNode(javax.jcr.Node node)
throws Exception
initFromNode in interface FtpFileInfoExceptionpublic void setName(String name)
setName in interface FtpFileInfopublic String getName()
getName in interface FtpFileInfopublic void setType(boolean collection)
setType in interface FtpFileInfopublic boolean isCollection()
isCollection in interface FtpFileInfopublic void setSize(long size)
setSize in interface FtpFileInfopublic long getSize()
getSize in interface FtpFileInfopublic void setDateTime(String dateTime)
setDateTime in interface FtpFileInfopublic String getDateTime()
getDateTime in interface FtpFileInfopublic String getMonth()
getMonth in interface FtpFileInfopublic int getDay()
getDay in interface FtpFileInfopublic String getTime()
getTime in interface FtpFileInfoCopyright © 2016 eXo Platform SAS. All Rights Reserved.