com.myjavaworld.jftp
Class Favorite

java.lang.Object
  extended by com.myjavaworld.jftp.RemoteHost
      extended by com.myjavaworld.jftp.Favorite
All Implemented Interfaces:
Serializable, Comparable

public class Favorite
extends RemoteHost
implements Serializable, Comparable

Objects of this class encapsulate the information of FTP site parameters.

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.myjavaworld.jftp.RemoteHost
account, commands, dataChannelUnencrypted, DEFAULT_FTP_CLIENT_CLASS_NAME, DEFAULT_LIST_PARSER_CLASS_NAME, ftpClientClassName, hostName, implicitSSLPort, initialLocalDirectory, initialRemoteDirectory, listParserClassName, name, passive, password, port, sslUsage, user
 
Constructor Summary
Favorite()
          Creates a new instance of Favorite
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object obj)
           
 int hashcode()
           
 
Methods inherited from class com.myjavaworld.jftp.RemoteHost
getAccount, getCommands, getCommandsAsString, getFTPClientClassName, getHostName, getImplicitSSLPort, getInitialLocalDirectory, getInitialRemoteDirectory, getListParserClassName, getName, getPassword, getPort, getSSLUsage, getUser, isDataChannelUnencrypted, isPassive, setAccount, setCommands, setCommands, setDataChannelUnencrypted, setFTPClientClassName, setHostName, setImplicitSSLPort, setInitialLocalDirectory, setInitialRemoteDirectory, setListParserClassName, setName, setPassive, setPassword, setPort, setSSLUsage, setUser, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Favorite

public Favorite()
Creates a new instance of Favorite

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class RemoteHost

hashcode

public int hashcode()

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class RemoteHost


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.