eXo JCR :: Component :: FTP Service 1.15.8-GA

org.exoplatform.services.ftp.listcode
Class FtpFileInfoImpl

java.lang.Object
  extended by org.exoplatform.services.ftp.listcode.FtpFileInfoImpl
All Implemented Interfaces:
FtpFileInfo

public class FtpFileInfoImpl
extends Object
implements FtpFileInfo

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: $

Field Summary
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 Summary
FtpFileInfoImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.exoplatform.services.log.Log LOG

_name

protected String _name

_isCollection

protected boolean _isCollection

_size

protected long _size

dateTime

protected String dateTime

_month

protected String _month

_day

protected int _day

_time

protected String _time

MONTHES

public static final String[] MONTHES

TIME_MASK

public static final String TIME_MASK
See Also:
Constant Field Values
Constructor Detail

FtpFileInfoImpl

public FtpFileInfoImpl()
Method Detail

initFromNode

public void initFromNode(javax.jcr.Node node)
                  throws Exception
Specified by:
initFromNode in interface FtpFileInfo
Throws:
Exception

setName

public void setName(String name)
Specified by:
setName in interface FtpFileInfo

getName

public String getName()
Specified by:
getName in interface FtpFileInfo

setType

public void setType(boolean collection)
Specified by:
setType in interface FtpFileInfo

isCollection

public boolean isCollection()
Specified by:
isCollection in interface FtpFileInfo

setSize

public void setSize(long size)
Specified by:
setSize in interface FtpFileInfo

getSize

public long getSize()
Specified by:
getSize in interface FtpFileInfo

setDateTime

public void setDateTime(String dateTime)
Specified by:
setDateTime in interface FtpFileInfo

getDateTime

public String getDateTime()
Specified by:
getDateTime in interface FtpFileInfo

getMonth

public String getMonth()
Specified by:
getMonth in interface FtpFileInfo

getDay

public int getDay()
Specified by:
getDay in interface FtpFileInfo

getTime

public String getTime()
Specified by:
getTime in interface FtpFileInfo

eXo JCR :: Component :: FTP Service 1.15.8-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.