anvil.core.net
Class AnyFtpClient

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.net.AnyFtpClient
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class AnyFtpClient
extends AnyAbstractClass

class AnyFtpClient

Author:
Jani Lehtimäki

Field Summary
static NativeClass _class
           
static java.lang.Object[] newInstance
           
static java.lang.Object[] p_append
           
static java.lang.Object[] p_cd
           
static java.lang.Object[] p_get
           
static java.lang.Object[] p_login
           
static java.lang.Object[] p_open
           
static java.lang.Object[] p_put
           
static java.lang.Object[] p_rename
           
 
Fields inherited from class anvil.core.Any
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Constructor Summary
AnyFtpClient(sun.net.ftp.FtpClient client)
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 Any m_append(Context context, java.lang.String filename)
           
 Any m_asc(Context context)
           
 Any m_bin(Context context)
           
 Any m_cd(Context context, java.lang.String dir)
           
 Any m_cdUp(Context context)
           
 Any m_close(Context context)
           
 Any m_get(Context context, java.lang.String filename)
           
 Any m_isOpen()
           
 Any m_list(Context context)
           
 Any m_login(Context context, java.lang.String username, java.lang.String password)
           
 Any m_open(Context context, java.lang.String host, int port)
           
 Any m_put(Context context, java.lang.String filename)
           
 Any m_pwd(Context context)
           
 Any m_rename(Context context, java.lang.String oldName, java.lang.String newName)
           
static Any newInstance(Context context, Any host, int port)
           
 java.lang.Object toObject()
          Gets the contained value as java.lang.Object.
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, toString, typeOf, unserialize, unserializeObject
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

newInstance

public static final java.lang.Object[] newInstance

p_open

public static final java.lang.Object[] p_open

p_login

public static final java.lang.Object[] p_login

p_cd

public static final java.lang.Object[] p_cd

p_get

public static final java.lang.Object[] p_get

p_put

public static final java.lang.Object[] p_put

p_append

public static final java.lang.Object[] p_append

p_rename

public static final java.lang.Object[] p_rename

_class

public static final NativeClass _class
Constructor Detail

AnyFtpClient

public AnyFtpClient(sun.net.ftp.FtpClient client)
Method Detail

newInstance

public static final Any newInstance(Context context,
                                    Any host,
                                    int port)

classOf

public final ClassType classOf()
Description copied from class: Any
Returns the type of this Any.

Specified by:
classOf in class AnyAbstractClass

toObject

public java.lang.Object toObject()
Description copied from class: Any
Gets the contained value as java.lang.Object.

Overrides:
toObject in class Any
Returns:
Value as Object.

m_isOpen

public Any m_isOpen()

m_close

public Any m_close(Context context)

m_open

public Any m_open(Context context,
                  java.lang.String host,
                  int port)

m_login

public Any m_login(Context context,
                   java.lang.String username,
                   java.lang.String password)

m_cd

public Any m_cd(Context context,
                java.lang.String dir)

m_cdUp

public Any m_cdUp(Context context)

m_pwd

public Any m_pwd(Context context)

m_asc

public Any m_asc(Context context)

m_bin

public Any m_bin(Context context)

m_list

public Any m_list(Context context)

m_get

public Any m_get(Context context,
                 java.lang.String filename)

m_put

public Any m_put(Context context,
                 java.lang.String filename)

m_append

public Any m_append(Context context,
                    java.lang.String filename)

m_rename

public Any m_rename(Context context,
                    java.lang.String oldName,
                    java.lang.String newName)