com.intersys.classes
Class CharacterStream

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.CharacterStream
All Implemented Interfaces:
ObjectHandle, Serializable
Direct Known Subclasses:
FileCharacterStream, GlobalCharacterStream

public class CharacterStream
extends SerialStream
implements Serializable

See Also:
Serialized Form

Constructor Summary
CharacterStream(com.intersys.cache.CacheObject ref)
           
CharacterStream(Database db)
           
 
Method Summary
 String _lineTerminatorGet()
           
 void _lineTerminatorSet(String terminator)
           
 void _moveToEnd()
           
static RegisteredObject _open(Database db, Oid oid)
           
 String _read(IntegerHolder len)
           
 String _readLine(IntegerHolder len)
           
 void _write()
           
 void _write(String data)
           
 void _writeLine()
           
 void _writeLine(String data)
           
static void checkAllFieldsValid(Database db)
           
static void checkAllMethods(Database db)
           
 String get_lineTerminator()
           
 CacheClass getCacheClass()
           
static String getCacheClassName()
           
 CacheReader getReader()
           
 CacheWriter getWriter()
           
 void set_lineTerminator(String value)
           
 
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

CharacterStream

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

CharacterStream

public CharacterStream(Database db)
                throws CacheException
Method Detail

getReader

public CacheReader getReader()
                      throws CacheException
Throws:
CacheException

getWriter

public CacheWriter getWriter()
                      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

get_lineTerminator

public String get_lineTerminator()
                          throws CacheException
Throws:
CacheException

set_lineTerminator

public void set_lineTerminator(String value)
                        throws CacheException
Throws:
CacheException

_lineTerminatorGet

public String _lineTerminatorGet()
                          throws CacheException
Throws:
CacheException

_lineTerminatorSet

public void _lineTerminatorSet(String terminator)
                        throws CacheException
Throws:
CacheException

_moveToEnd

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

_read

public String _read(IntegerHolder len)
             throws CacheException
Throws:
CacheException

_readLine

public String _readLine(IntegerHolder len)
                 throws CacheException
Throws:
CacheException

_write

public void _write()
            throws CacheException
Throws:
CacheException

_write

public void _write(String data)
            throws CacheException
Throws:
CacheException

_writeLine

public void _writeLine()
                throws CacheException
Throws:
CacheException

_writeLine

public void _writeLine(String data)
                throws CacheException
Throws:
CacheException