org.exoplatform.frameworks.ftpclient.data
Class FtpFileInfoImpl
java.lang.Object
org.exoplatform.frameworks.ftpclient.data.FtpFileInfoImpl
- All Implemented Interfaces:
- FtpFileInfo
public class FtpFileInfoImpl
- extends java.lang.Object
- implements FtpFileInfo
Created by The eXo Platform SAS .
- Version:
- $Id: FtpFileInfoImpl.java 35179 2009-08-07 13:58:20Z pnedonosko $
- Author:
- Vitaly Guly
|
Field Summary |
protected boolean |
collection
|
protected java.lang.String |
date
|
protected java.lang.String |
name
|
protected long |
size
|
protected java.lang.String |
time
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
size
protected long size
collection
protected boolean collection
date
protected java.lang.String date
time
protected java.lang.String time
FtpFileInfoImpl
public FtpFileInfoImpl()
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
setSize
public void setSize(long size)
- Specified by:
setSize in interface FtpFileInfo
getSize
public long getSize()
- Specified by:
getSize 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
setDate
public void setDate(java.lang.String date)
- Specified by:
setDate in interface FtpFileInfo
getDate
public java.lang.String getDate()
- Specified by:
getDate in interface FtpFileInfo
setTime
public void setTime(java.lang.String time)
- Specified by:
setTime in interface FtpFileInfo
getTime
public java.lang.String getTime()
- Specified by:
getTime in interface FtpFileInfo
parseDir
public boolean parseDir(java.lang.String fileLine,
java.lang.String systemType)
- Specified by:
parseDir in interface FtpFileInfo
parseWindowsNT
protected boolean parseWindowsNT(java.lang.String fileLine)
parseUnixL8
protected boolean parseUnixL8(java.lang.String fileLine)
Copyright © 2010 eXo Platform SAS. All Rights Reserved.