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 java.lang.Object
implements FtpFileInfo

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: FtpFileInfoImpl.java 35180 2009-08-07 14:04:22Z pnedonosko $

Field Summary
protected  int _day
           
protected  boolean _isCollection
           
protected  java.lang.String _month
           
protected  java.lang.String _name
           
protected  long _size
           
protected  java.lang.String _time
           
protected  java.lang.String dateTime
           
protected static org.apache.commons.logging.Log log
           
static java.lang.String[] MONTHES
           
static java.lang.String TIME_MASK
           
 
Constructor Summary
FtpFileInfoImpl()
           
 
Method Summary
 java.lang.String getDateTime()
           
 int getDay()
           
 java.lang.String getMonth()
           
 java.lang.String getName()
           
 long getSize()
           
 java.lang.String getTime()
           
 void initFromNode(javax.jcr.Node node)
           
 boolean isCollection()
           
 void setDateTime(java.lang.String dateTime)
           
 void setName(java.lang.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 org.apache.commons.logging.Log log

_name

protected java.lang.String _name

_isCollection

protected boolean _isCollection

_size

protected long _size

dateTime

protected java.lang.String dateTime

_month

protected java.lang.String _month

_day

protected int _day

_time

protected java.lang.String _time

MONTHES

public static final java.lang.String[] MONTHES

TIME_MASK

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

FtpFileInfoImpl

public FtpFileInfoImpl()
Method Detail

initFromNode

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

setName

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

getName

public java.lang.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(java.lang.String dateTime)
Specified by:
setDateTime in interface FtpFileInfo

getDateTime

public java.lang.String getDateTime()
Specified by:
getDateTime in interface FtpFileInfo

getMonth

public java.lang.String getMonth()
Specified by:
getMonth in interface FtpFileInfo

getDay

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

getTime

public java.lang.String getTime()
Specified by:
getTime in interface FtpFileInfo


Copyright © 2011 eXo Platform SAS. All Rights Reserved.