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