Class FtpFileInfoImpl
java.lang.Object
org.exoplatform.services.ftp.listcode.FtpFileInfoImpl
- All Implemented Interfaces:
FtpFileInfo
Created by The eXo Platform SAS Author : Vitaly Guly gavrik-vetal@ukr.net/mail.ru
- Version:
- $Id: $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDay()getMonth()getName()longgetSize()getTime()voidinitFromNode(javax.jcr.Node node) booleanvoidsetDateTime(String dateTime) voidvoidsetSize(long size) voidsetType(boolean collection)
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOG -
_name
-
_isCollection
protected boolean _isCollection -
_size
protected long _size -
dateTime
-
_month
-
_day
protected int _day -
_time
-
MONTHES
-
TIME_MASK
- See Also:
-
-
Constructor Details
-
FtpFileInfoImpl
public FtpFileInfoImpl()
-
-
Method Details
-
initFromNode
- Specified by:
initFromNodein interfaceFtpFileInfo- Throws:
Exception
-
setName
- Specified by:
setNamein interfaceFtpFileInfo
-
getName
- Specified by:
getNamein interfaceFtpFileInfo
-
setType
public void setType(boolean collection) - Specified by:
setTypein interfaceFtpFileInfo
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceFtpFileInfo
-
setSize
public void setSize(long size) - Specified by:
setSizein interfaceFtpFileInfo
-
getSize
public long getSize()- Specified by:
getSizein interfaceFtpFileInfo
-
setDateTime
- Specified by:
setDateTimein interfaceFtpFileInfo
-
getDateTime
- Specified by:
getDateTimein interfaceFtpFileInfo
-
getMonth
- Specified by:
getMonthin interfaceFtpFileInfo
-
getDay
public int getDay()- Specified by:
getDayin interfaceFtpFileInfo
-
getTime
- Specified by:
getTimein interfaceFtpFileInfo
-