Package system.data.sqltypes
Class SqlFileStream
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.Stream
-
- system.data.sqltypes.SqlFileStream
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class SqlFileStream extends Stream
The base .NET class managing System.Data.SqlTypes.SqlFileStream, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlFileStream
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.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.SqlTypes.SqlFileStreamstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlFileStream()SqlFileStream(java.lang.Object instance)Internal constructor.SqlFileStream(java.lang.String path, byte[] transactionContext, FileAccess access)SqlFileStream(java.lang.String path, byte[] transactionContext, FileAccess access, FileOptions options, long allocationSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAsyncResultBeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state)IAsyncResultBeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)IAsyncResultBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state)IAsyncResultBeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)static SqlFileStreamcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSqlFileStream, a cast assert is made to check if types are compatible.intEndRead(IAsyncResult asyncResult)voidEndWrite(IAsyncResult asyncResult)voidFlush()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()byte[]getTransactionContext()intRead(JCORefOut buffer, int offset, int count)intReadByte()longSeek(long offset, SeekOrigin origin)voidsetJCOInstance(JCObject instance)voidSetLength(long value)voidsetName(java.lang.String Name)voidsetTransactionContext(byte[] TransactionContext)voidWrite(byte[] buffer, int offset, int count)voidWrite(JCORefOut dupParam0, int dupParam1, int dupParam2)voidWriteByte(byte value)-
Methods inherited from class system.io.Stream
close, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteAsync, WriteAsync
-
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, 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- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.SqlTypes.SqlFileStream- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlFileStream
public SqlFileStream(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlFileStream
public SqlFileStream() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SqlFileStream
public SqlFileStream(java.lang.String path, byte[] transactionContext, FileAccess access) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, Win32Exception, NotSupportedException, OutOfMemoryException, AccessViolationException, FormatException, SecurityException, IOException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionFormatExceptionSecurityExceptionIOExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
SqlFileStream
public SqlFileStream(java.lang.String path, byte[] transactionContext, FileAccess access, FileOptions options, long allocationSize) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, OutOfMemoryException, AccessViolationException, FormatException, SecurityException, IOException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionOutOfMemoryExceptionAccessViolationExceptionFormatExceptionSecurityExceptionIOExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classStream- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classStream- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classStream- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classStream- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classStream
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classStream- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlFileStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlFileStream, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlFileStreaminstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
EndRead
public int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException, ThreadAbortException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, SynchronizationLockException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException
- Overrides:
EndReadin classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundException
-
Read
public int Read(JCORefOut buffer, int offset, int count) throws java.lang.Throwable, ObjectDisposedException
- Overrides:
Readin classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
ReadByte
public int ReadByte() throws java.lang.Throwable, ObjectDisposedException- Overrides:
ReadBytein classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
Seek
public long Seek(long offset, SeekOrigin origin) throws java.lang.Throwable, ObjectDisposedException- Overrides:
Seekin classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
BeginRead
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException
- Overrides:
BeginReadin classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeException
-
BeginRead
public IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException
- Overrides:
BeginReadin classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeException
-
BeginWrite
public IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeException
-
BeginWrite
public IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeException
-
EndWrite
public void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException, ThreadAbortException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, SynchronizationLockException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException
- Overrides:
EndWritein classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundException
-
Flush
public void Flush() throws java.lang.Throwable, ObjectDisposedException- Overrides:
Flushin classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, ObjectDisposedException- Overrides:
SetLengthin classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
Write
public void Write(byte[] buffer, int offset, int count) throws java.lang.Throwable, ObjectDisposedException- Overrides:
Writein classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ObjectDisposedException
- Overrides:
Writein classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
WriteByte
public void WriteByte(byte value) throws java.lang.Throwable, ObjectDisposedException- Overrides:
WriteBytein classStream- Throws:
java.lang.ThrowableObjectDisposedException
-
getTransactionContext
public byte[] getTransactionContext() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTransactionContext
public void setTransactionContext(byte[] TransactionContext) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32Exception
-
-