Package system.io
Class FileStream
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.Stream
-
- system.io.FileStream
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
IsolatedStorageFileStream
public class FileStream extends Stream
The base .NET class managing System.IO.FileStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.FileStream
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.IO.FileStreamstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FileStream()FileStream(java.lang.Object instance)Internal constructor.FileStream(java.lang.String path, FileMode mode)FileStream(java.lang.String path, FileMode mode, FileAccess access)FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share)FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize)FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, boolean useAsync)FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)FileStream(java.lang.String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options)FileStream(java.lang.String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options, FileSecurity fileSecurity)FileStream(SafeFileHandle handle, FileAccess access)FileStream(SafeFileHandle handle, FileAccess access, int bufferSize)FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, boolean isAsync)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAsyncResultBeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject)IAsyncResultBeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)IAsyncResultBeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject)IAsyncResultBeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)static FileStreamcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoFileStream, a cast assert is made to check if types are compatible.intEndRead(IAsyncResult asyncResult)voidEndWrite(IAsyncResult asyncResult)voidFlush()voidFlush(boolean flushToDisk)TaskFlushAsync(CancellationToken cancellationToken)FileSecurityGetAccessControl()booleangetIsAsync()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()SafeFileHandlegetSafeFileHandle()voidLock(long position, long length)intRead(JCORefOut array, int offset, int count)intReadByte()longSeek(long offset, SeekOrigin origin)voidSetAccessControl(FileSecurity fileSecurity)voidsetJCOInstance(JCObject instance)voidSetLength(long value)voidUnlock(long position, long length)voidWrite(byte[] array, int offset, int count)voidWrite(JCORefOut dupParam0, int dupParam1, int dupParam2)TaskWriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)TaskWriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3)voidWriteByte(byte value)-
Methods inherited from class system.io.Stream
close, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, setPosition, setReadTimeout, setWriteTimeout, Synchronized, 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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.IO.FileStream- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileStream
public FileStream(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
FileStream
public FileStream() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
FileStream
public FileStream(SafeFileHandle handle, FileAccess access) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, IOException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledException
-
FileStream
public FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, IOException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledException
-
FileStream
public FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, boolean isAsync) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, IOException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
FileStream
public FileStream(java.lang.String path, FileMode mode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileAccess access) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, boolean useAsync) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
FileStream
public FileStream(java.lang.String path, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options, FileSecurity fileSecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionKeyNotFoundException
-
-
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 FileStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoFileStream, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
FileStreaminstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
EndRead
public int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException, ThreadAbortException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, SynchronizationLockException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException
- Overrides:
EndReadin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundException
-
Read
public int Read(JCORefOut array, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, IndexOutOfRangeException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
- Overrides:
Readin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
ReadByte
public int ReadByte() throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
ReadBytein classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
Seek
public long Seek(long offset, SeekOrigin origin) throws java.lang.Throwable, ArgumentException, ObjectDisposedException, NotSupportedException, ArgumentNullException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
Seekin classStream- Throws:
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
BeginRead
public IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException, SynchronizationLockException, WaitHandleCannotBeOpenedException, EndOfStreamException, SemaphoreFullException
- Overrides:
BeginReadin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullException
-
BeginRead
public IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException, SynchronizationLockException, WaitHandleCannotBeOpenedException, EndOfStreamException, SemaphoreFullException
- Overrides:
BeginReadin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullException
-
BeginWrite
public IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, EndOfStreamException, SemaphoreFullException
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullException
-
BeginWrite
public IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, EndOfStreamException, SemaphoreFullException
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullException
-
GetAccessControl
public FileSecurity GetAccessControl() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, OutOfMemoryException, UnauthorizedAccessException, InvalidOperationException, PrivilegeNotHeldException, SystemException, ArgumentOutOfRangeException, OverflowException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionInvalidOperationExceptionPrivilegeNotHeldExceptionSystemExceptionArgumentOutOfRangeExceptionOverflowExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedException
-
FlushAsync
public Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, TaskSchedulerException, ArgumentException, NotSupportedException, IndexOutOfRangeException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, EndOfStreamException, ThreadAbortException, TaskCanceledException, AggregateException, SemaphoreFullException
- Overrides:
FlushAsyncin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionTaskSchedulerExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionEndOfStreamExceptionThreadAbortExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
WriteAsync
public Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, SemaphoreFullException, EventSourceException, WaitHandleCannotBeOpenedException, IOException, IndexOutOfRangeException, EndOfStreamException
- Overrides:
WriteAsyncin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionTaskSchedulerExceptionSemaphoreFullExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionIOExceptionIndexOutOfRangeExceptionEndOfStreamException
-
WriteAsync
public Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, SemaphoreFullException, EventSourceException, WaitHandleCannotBeOpenedException, IOException, IndexOutOfRangeException, EndOfStreamException
- Overrides:
WriteAsyncin classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionTaskSchedulerExceptionSemaphoreFullExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionIOExceptionIndexOutOfRangeExceptionEndOfStreamException
-
EndWrite
public void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, EventSourceException, ArgumentOutOfRangeException, ThreadAbortException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, SynchronizationLockException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException
- Overrides:
EndWritein classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundException
-
Flush
public void Flush() throws java.lang.Throwable, ObjectDisposedException, ArgumentException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, EndOfStreamException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
Flushin classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionEndOfStreamExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
Flush
public void Flush(boolean flushToDisk) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
Lock
public void Lock(long position, long length) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
SetAccessControl
public void SetAccessControl(FileSecurity fileSecurity) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, FormatException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, InvalidProgramException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionFormatExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionInvalidProgramException
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, IndexOutOfRangeException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
SetLengthin classStream- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
Unlock
public void Unlock(long position, long length) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
Write
public void Write(byte[] array, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException, WaitHandleCannotBeOpenedException, InvalidOperationException, NullReferenceException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException, EndOfStreamException, EventSourceException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
Writein classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionNullReferenceExceptionIndexOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionEndOfStreamExceptionEventSourceExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException, WaitHandleCannotBeOpenedException, InvalidOperationException, NullReferenceException, IndexOutOfRangeException, LockRecursionException, SynchronizationLockException, EndOfStreamException, EventSourceException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
- Overrides:
Writein classStream- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionNullReferenceExceptionIndexOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionEndOfStreamExceptionEventSourceExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
WriteByte
public void WriteByte(byte value) throws java.lang.Throwable, ObjectDisposedException, NotSupportedException, ArgumentNullException, ArgumentException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, OperationCanceledException, WaitHandleCannotBeOpenedException, InvalidOperationException, IndexOutOfRangeException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException- Overrides:
WriteBytein classStream- Throws:
java.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException
-
getIsAsync
public boolean getIsAsync() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSafeFileHandle
public SafeFileHandle getSafeFileHandle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException
-
-