Package system.data.oracleclient
Class OracleBFile
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.Stream
-
- system.data.oracleclient.OracleBFile
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class OracleBFile extends Stream
The base .NET class managing System.Data.OracleClient.OracleBFile, System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OracleClient.OracleBFile
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Data.OracleClientstatic java.lang.String
className
Qualified class name: System.Data.OracleClient.OracleBFilestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OracleBFile()
OracleBFile(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OracleBFile
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoOracleBFile
, a cast assert is made to check if types are compatible.NetObject
Clone()
long
CopyTo(long sourceOffset, OracleLob destination, long destinationOffset, long amount)
long
CopyTo(OracleLob destination)
long
CopyTo(OracleLob destination, long destinationOffset)
void
Flush()
OracleConnection
getConnection()
java.lang.String
getDirectoryName()
boolean
getFileExists()
java.lang.String
getFileName()
boolean
getIsNull()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetObject
getValue()
int
Read(byte[] buffer, int offset, int count)
int
Read(JCORefOut dupParam0, int dupParam1, int dupParam2)
long
Seek(long offset, SeekOrigin origin)
void
SetFileName(java.lang.String directory, java.lang.String file)
void
setJCOInstance(JCObject instance)
void
SetLength(long value)
void
Write(byte[] buffer, int offset, int count)
void
Write(JCORefOut dupParam0, int dupParam1, int dupParam2)
-
Methods inherited from class system.io.Stream
BeginRead, BeginRead, BeginWrite, BeginWrite, close, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, EndRead, EndWrite, FlushAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadByte, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteByte
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.OracleClient- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.OracleClient.OracleBFile- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classStream
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classStream
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classStream
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classStream
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classStream
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classStream
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static OracleBFile cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOracleBFile
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OracleBFile
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Read
public int Read(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
Read
public int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Overrides:
Read
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
OutOfMemoryException
ArgumentException
CultureNotFoundException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
CopyTo
public long CopyTo(long sourceOffset, OracleLob destination, long destinationOffset, long amount) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OutOfMemoryException
-
CopyTo
public long CopyTo(OracleLob destination) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
CopyTo
public long CopyTo(OracleLob destination, long destinationOffset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
Seek
public long Seek(long offset, SeekOrigin origin) throws java.lang.Throwable
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException
-
Flush
public void Flush() throws java.lang.Throwable
-
SetFileName
public void SetFileName(java.lang.String directory, java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, KeyNotFoundException
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
SetLength
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
Write
public void Write(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
getFileExists
public boolean getFileExists() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
-
getIsNull
public boolean getIsNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getConnection
public OracleConnection getConnection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValue
public NetObject getValue() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getDirectoryName
public java.lang.String getDirectoryName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException
-
getFileName
public java.lang.String getFileName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException
-
-