eXo JCR :: Framework :: FTP Client 1.15.14-CP01

org.exoplatform.frameworks.ftpclient.data
Class FtpFileInfoImpl

java.lang.Object
  extended by 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

Field Summary
protected  boolean collection
           
protected  String date
           
protected  String name
           
protected  long size
           
protected  String time
           
 
Constructor Summary
FtpFileInfoImpl()
           
 
Method Summary
 String getDate()
           
 String getName()
           
 long getSize()
           
 String getTime()
           
 boolean isCollection()
           
 boolean parseDir(String fileLine, String systemType)
           
protected  boolean parseUnixL8(String fileLine)
           
protected  boolean parseWindowsNT(String fileLine)
           
 void setDate(String date)
           
 void setName(String name)
           
 void setSize(long size)
           
 void setTime(String time)
           
 void setType(boolean collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

size

protected long size

collection

protected boolean collection

date

protected String date

time

protected String time
Constructor Detail

FtpFileInfoImpl

public FtpFileInfoImpl()
Method Detail

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)

eXo JCR :: Framework :: FTP Client 1.15.14-CP01

Copyright © 2015 eXo Platform SAS. All Rights Reserved.