Class Blob
public class Blob : JVMBridgeBase<Blob>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBlob
- Inheritance
-
Blob
- Implements
- Inherited Members
-
JVMBridgeBase<Blob>.SExecuteWithSignature<TReturn>(Type, IJavaType, string, string, params object[])
- Extension Methods
Constructors
Blob()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Blob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Blob()
Blob(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Blob class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Blob(params object[] args)
Parameters
args
object[]
Properties
BinaryStream
public InputStream BinaryStream { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Free()
public void Free()
Exceptions
GetBinaryStream(long, long)
public InputStream GetBinaryStream(long arg0, long arg1)
Parameters
Returns
Exceptions
GetBytes(long, int)
public byte[] GetBytes(long arg0, int arg1)
Parameters
Returns
Exceptions
Length()
public long Length()
Returns
Exceptions
Position(Blob, long)
public long Position(Blob arg0, long arg1)
Parameters
Returns
Exceptions
Position(byte[], long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Blob.html#position(byte[],long)
public long Position(byte[] arg0, long arg1)
Parameters
Returns
Exceptions
SetBinaryStream(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Blob.html#setBinaryStream(long)
public OutputStream SetBinaryStream(long arg0)
Parameters
Returns
Exceptions
SetBytes(long, byte[])
https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Blob.html#setBytes(long,byte[])
public int SetBytes(long arg0, byte[] arg1)
Parameters
Returns
Exceptions
SetBytes(long, byte[], int, int)
public int SetBytes(long arg0, byte[] arg1, int arg2, int arg3)
Parameters
Returns
Exceptions
Truncate(long)
public void Truncate(long arg0)