com.intersys.classes
Class BinaryStream

java.lang.Object
  extended bycom.intersys.classes.CacheGeneric
      extended bycom.intersys.classes.CacheRootObject
          extended bycom.intersys.classes.RegisteredObject
              extended bycom.intersys.classes.SerialObject
                  extended bycom.intersys.classes.SerialStream
                      extended bycom.intersys.classes.BinaryStream
All Implemented Interfaces:
ObjectHandle, Serializable
Direct Known Subclasses:
FileBinaryStream, GlobalBinaryStream

public class BinaryStream
extends SerialStream
implements Serializable

See Also:
Serialized Form

Constructor Summary
BinaryStream(com.intersys.cache.CacheObject ref)
           
BinaryStream(Database db)
           
 
Method Summary
 void _moveToEnd()
           
static RegisteredObject _open(Database db, Oid oid)
           
 byte[] _read(IntegerHolder len)
           
 void _write()
           
 void _write(byte[] data)
           
static void checkAllFieldsValid(Database db)
           
static void checkAllMethods(Database db)
           
 CacheClass getCacheClass()
           
static String getCacheClassName()
           
 CacheInputStream getInputStream()
           
 CacheOutputStream getOutputStream()
           
 
Methods inherited from class com.intersys.classes.SerialStream
_clear, _copyFrom, _copyFromAndSave, _deleteAttribute, _deleteStream, _flush, _getAttribute, _getAttribute, _getStreamId, _inputFromDevice, _inputFromDevice, _inputFromDevice, _isDefinedAttribute, _isNull, _lastModifiedGet, _logicalToOdbc, _logicalToOdbc, _nextAttribute, _odbcToLogical, _odbcToLogical, _openStream, _outputToDevice, _outputToDevice, _rewind, _saveStream, _setAttribute, _sizeGet
 
Methods inherited from class com.intersys.classes.SerialObject
_getSwizzleObject, _getSwizzleObject, _getSwizzleObject, getOid, open, openOnServer, serialize, serialize
 
Methods inherited from class com.intersys.classes.RegisteredObject
_className, _className, _constructClone, _constructClone, _constructClone, _isA, _isModified, _normalizeObject, _packageName, _validateObject, _validateObject, constructClone, constructClone, getZRef
 
Methods inherited from class com.intersys.classes.CacheRootObject
_close, castTo, equals, getDatabase, getField, getOref, getProxy, getString, hashCode, release, releaseInternal, toString
 
Methods inherited from class com.intersys.classes.CacheGeneric
checkAllFieldsValid, checkFieldsLimited, reset
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryStream

public BinaryStream(com.intersys.cache.CacheObject ref)
             throws CacheException

BinaryStream

public BinaryStream(Database db)
             throws CacheException
Method Detail

getInputStream

public CacheInputStream getInputStream()
                                throws CacheException
Throws:
CacheException

getOutputStream

public CacheOutputStream getOutputStream()
                                  throws CacheException
Throws:
CacheException

_open

public static RegisteredObject _open(Database db,
                                     Oid oid)
                              throws CacheException
Throws:
CacheException

getCacheClassName

public static String getCacheClassName()

getCacheClass

public CacheClass getCacheClass()
                         throws CacheException
Overrides:
getCacheClass in class SerialStream
Throws:
CacheException

checkAllFieldsValid

public static void checkAllFieldsValid(Database db)
                                throws CacheException
Throws:
CacheException

checkAllMethods

public static void checkAllMethods(Database db)
                            throws CacheException
Throws:
CacheException

_moveToEnd

public void _moveToEnd()
                throws CacheException
Overrides:
_moveToEnd in class SerialStream
Throws:
CacheException

_read

public byte[] _read(IntegerHolder len)
             throws CacheException
Throws:
CacheException

_write

public void _write()
            throws CacheException
Throws:
CacheException

_write

public void _write(byte[] data)
            throws CacheException
Throws:
CacheException