com.moesol.bindings.platform_sdk.data_services
Interface _Stream

All Superinterfaces:
IDispatch, IUnknown
All Known Implementing Classes:
_Stream.Jni, Stream, Stream.Jni

public interface _Stream
extends IDispatch

IDL: [ helpstring(""), hidden, dual, oleautomation, dispatchable ] interface


Nested Class Summary
static class _Stream.Disp
          Implementation, COM to Java.
static class _Stream.Jni
          Implementation, Java to COM.
 
Field Summary
static GUID IID
          IDL: [uuid(00000565-0000-0010-8000-00AA006D2EA4)]
static Class TYPELIB
           
 
Fields inherited from interface com.moesol.bindings.platform_sdk.component_services.IDispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Method Summary
 void Cancel()
          IDL: [ helpstring("") ]
 void Close()
          IDL: [ helpstring("") ]
 void CopyTo(_Stream DestStream, int CharNumber)
          IDL: [ helpstring("") ]
 void Flush()
          IDL: [ helpstring("") ]
 String getCharset()
          IDL: [ helpstring("") ]
 boolean getEOS()
          IDL: [ helpstring("") ]
 int getLineSeparator()
          IDL: [ helpstring("") ]
 int getMode()
          IDL: [ helpstring("") ]
 int getPosition()
          IDL: [ helpstring("") ]
 int getSize()
          IDL: [ helpstring("") ]
 int getState()
          IDL: [ helpstring("") ]
 int getType()
          IDL: [ helpstring("") ]
 void LoadFromFile(String FileName)
          IDL: [ helpstring("") ]
 void Open(Object Source, int Mode, int Options, String UserName, String Password)
          IDL: [ helpstring("") ]
 Object Read(int NumBytes)
          IDL: [ helpstring("") ]
 String ReadText(int NumChars)
          IDL: [ helpstring("") ]
 void SaveToFile(String FileName, int Options)
          IDL: [ helpstring("") ]
 void setCharset(String pbstrCharset)
          IDL: [ helpstring("") ]
 void SetEOS()
          IDL: [ helpstring("") ]
 void setLineSeparator(int pLS)
          IDL: [ helpstring("") ]
 void setMode(int pMode)
          IDL: [ helpstring("") ]
 void setPosition(int pPos)
          IDL: [ helpstring("") ]
 void setType(int ptype)
          IDL: [ helpstring("") ]
 void SkipLine()
          IDL: [ helpstring("") ]
 void Write(Object Buffer)
          IDL: [ helpstring("") ]
 void WriteText(String Data, int Options)
          IDL: [ helpstring("") ]
 
Methods inherited from interface com.moesol.bindings.platform_sdk.component_services.IUnknown
QueryInterface, QueryInterface, Release
 

Field Detail

TYPELIB

static final Class TYPELIB

IID

static final GUID IID
IDL: [uuid(00000565-0000-0010-8000-00AA006D2EA4)]

Method Detail

getSize

int getSize()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

getEOS

boolean getEOS()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] VARIANT_BOOL*

getPosition

int getPosition()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LONG*

setPosition

void setPosition(int pPos)
IDL: [ helpstring("") ]

Parameters:
pPos - IDL: [in] LONG

getType

int getType()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] StreamTypeEnum*

setType

void setType(int ptype)
IDL: [ helpstring("") ]

Parameters:
ptype - IDL: [in] StreamTypeEnum

getLineSeparator

int getLineSeparator()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] LineSeparatorEnum*

setLineSeparator

void setLineSeparator(int pLS)
IDL: [ helpstring("") ]

Parameters:
pLS - IDL: [in] LineSeparatorEnum

getState

int getState()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] ObjectStateEnum*

getMode

int getMode()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] ConnectModeEnum*

setMode

void setMode(int pMode)
IDL: [ helpstring("") ]

Parameters:
pMode - IDL: [in] ConnectModeEnum

getCharset

String getCharset()
IDL: [ helpstring("") ]

Returns:
IDL: [out] [retval] BSTR*

setCharset

void setCharset(String pbstrCharset)
IDL: [ helpstring("") ]

Parameters:
pbstrCharset - IDL: [in] BSTR

Read

Object Read(int NumBytes)
IDL: [ helpstring("") ]

Parameters:
NumBytes - IDL: [in] [optional] [default] LONG
Returns:
IDL: [out] [retval] VARIANT*

Open

void Open(Object Source,
          int Mode,
          int Options,
          String UserName,
          String Password)
IDL: [ helpstring("") ]

Parameters:
Source - IDL: [in] [optional] VARIANT
Mode - IDL: [in] [optional] [default] ConnectModeEnum
Options - IDL: [in] [optional] [default] StreamOpenOptionsEnum
UserName - IDL: [in] [optional] [default] BSTR
Password - IDL: [in] [optional] [default] BSTR

Close

void Close()
IDL: [ helpstring("") ]


SkipLine

void SkipLine()
IDL: [ helpstring("") ]


Write

void Write(Object Buffer)
IDL: [ helpstring("") ]

Parameters:
Buffer - IDL: [in] VARIANT

SetEOS

void SetEOS()
IDL: [ helpstring("") ]


CopyTo

void CopyTo(_Stream DestStream,
            int CharNumber)
IDL: [ helpstring("") ]

Parameters:
DestStream - IDL: [in] _Stream*
CharNumber - IDL: [in] [optional] [default] LONG

Flush

void Flush()
IDL: [ helpstring("") ]


SaveToFile

void SaveToFile(String FileName,
                int Options)
IDL: [ helpstring("") ]

Parameters:
FileName - IDL: [in] BSTR
Options - IDL: [in] [optional] [default] SaveOptionsEnum

LoadFromFile

void LoadFromFile(String FileName)
IDL: [ helpstring("") ]

Parameters:
FileName - IDL: [in] BSTR

ReadText

String ReadText(int NumChars)
IDL: [ helpstring("") ]

Parameters:
NumChars - IDL: [in] [optional] [default] LONG
Returns:
IDL: [out] [retval] BSTR*

WriteText

void WriteText(String Data,
               int Options)
IDL: [ helpstring("") ]

Parameters:
Data - IDL: [in] BSTR
Options - IDL: [in] [optional] [default] StreamWriteEnum

Cancel

void Cancel()
IDL: [ helpstring("") ]



Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.