JACK 5.4 JACOB Application Interface

Class GetStream

  extended byaos.apib.BaseStream
      extended byaos.apib.OutStream
          extended byaos.apib.GetStream

public class GetStream
extends OutStream

The GetStream class is a utility that provides generic access to JACOB objects, i.e., to retrieve the field values through "JACOB reflection". An instance of GetStream is created, and accesible via the static member GetStream.instance.

See Also:
Serialized Form

Field Summary
static GetStream instance
          Holds the common GetStream object for "JACOB reflection".
Constructor Summary
Method Summary
 void close()
          Closes the sink
 java.lang.Object get(Base bo, java.lang.String fn)
          Retrives the value of the named field.
 java.lang.Object get(StreamerSupport s, Base bo, int fn)
          Retrives the value of the i:th field.
Methods inherited from class aos.apib.OutStream
addNonApib, hasBeenSeen, initSeen, newAsciiOutStream, newAsciiOutStream, newBinaryOutStream, newBinaryOutStream, newOutStream, newOutStream, notifyWriteReplacer, open, prelude, putAggregate, putAggregate, putBool, putByte, putChar, putData, putDouble, putEnum, putFilename, putFloat, putInt, putLong, putObject, putOther, putShort, putString, reset, seenMultiple, toGZIP, trailer, writeBaseClasses, writeBaseClasses, writeMultipleObjects, writeObject, writeObject, writeObject, writeObject, writeSimplifiedObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final GetStream instance
Holds the common GetStream object for "JACOB reflection".

Constructor Detail


public GetStream()
Method Detail


public void close()
Description copied from class: OutStream
Closes the sink

close in class OutStream


public java.lang.Object get(Base bo,
                            java.lang.String fn)
Retrives the value of the named field.


public java.lang.Object get(StreamerSupport s,
                            Base bo,
                            int fn)
Retrives the value of the i:th field.

JACK 5.4 JACOB Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.

Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088