anvil.core.io
Class AnyInputStream

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

public class AnyInputStream
extends AnyAbstractClass


Field Summary
static NativeClass _class
           
static java.lang.Object[] p_read
           
static java.lang.Object[] p_readBinary
           
static java.lang.Object[] p_readLines
           
static java.lang.Object[] p_skip
           
static java.lang.Object[] p_writeTo
           
 
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
AnyInputStream(java.io.InputStream input)
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 BindingIterator iterator()
           
 Any m_available(Context context)
           
 Any m_close(Context context)
           
 Any m_getColumnNumber()
           
 Any m_getLineNumber()
           
 Any m_read(Context context, Any max)
           
 Any m_readBinary(Context context, Any binary, Any offset_, Any length_)
           
 Any m_readData(Context context)
           
 Any m_readLine(Context context)
           
 Any m_readLines(Context context, int max)
           
 Any m_skip(Context context, int amount)
           
 Any m_writeTo(Context context, Any output)
           
 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, 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

p_read

public static final java.lang.Object[] p_read

p_readBinary

public static final java.lang.Object[] p_readBinary

p_readLines

public static final java.lang.Object[] p_readLines

p_skip

public static final java.lang.Object[] p_skip

p_writeTo

public static final java.lang.Object[] p_writeTo

_class

public static final NativeClass _class
Constructor Detail

AnyInputStream

public AnyInputStream(java.io.InputStream input)
Method Detail

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.

iterator

public BindingIterator iterator()
Overrides:
iterator in class Any

m_available

public Any m_available(Context context)

m_close

public Any m_close(Context context)

m_read

public Any m_read(Context context,
                  Any max)

m_readBinary

public Any m_readBinary(Context context,
                        Any binary,
                        Any offset_,
                        Any length_)

m_readLine

public Any m_readLine(Context context)

m_readLines

public Any m_readLines(Context context,
                       int max)

m_readData

public Any m_readData(Context context)

m_getColumnNumber

public Any m_getColumnNumber()

m_getLineNumber

public Any m_getLineNumber()

m_skip

public Any m_skip(Context context,
                  int amount)

m_writeTo

public Any m_writeTo(Context context,
                     Any output)