public class FileStream extends Stream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.FileStream
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.IO.FileStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileStream() |
FileStream(java.lang.Object instance)
Internal constructor.
|
FileStream(SafeFileHandle handle,
FileAccess access) |
FileStream(SafeFileHandle handle,
FileAccess access,
int bufferSize) |
FileStream(SafeFileHandle handle,
FileAccess access,
int bufferSize,
boolean isAsync) |
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) |
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginRead(byte[] array,
int offset,
int numBytes,
AsyncCallback userCallback,
NetObject stateObject) |
IAsyncResult |
BeginRead(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
IAsyncResult |
BeginWrite(byte[] array,
int offset,
int numBytes,
AsyncCallback userCallback,
NetObject stateObject) |
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
static FileStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileStream, a cast assert is made to check if types are compatible. |
int |
EndRead(IAsyncResult asyncResult) |
void |
EndWrite(IAsyncResult asyncResult) |
void |
Flush() |
void |
Flush(boolean flushToDisk) |
Task |
FlushAsync(CancellationToken cancellationToken) |
FileSecurity |
GetAccessControl() |
boolean |
getIsAsync() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
SafeFileHandle |
getSafeFileHandle() |
void |
Lock(long position,
long length) |
int |
Read(JCORefOut array,
int offset,
int count) |
int |
ReadByte() |
long |
Seek(long offset,
SeekOrigin origin) |
void |
SetAccessControl(FileSecurity fileSecurity) |
void |
setJCOInstance(JCObject instance) |
void |
SetLength(long value) |
void |
Unlock(long position,
long length) |
void |
Write(byte[] array,
int offset,
int count) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
Task |
WriteAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken) |
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3) |
void |
WriteByte(byte value) |
close, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileStream()
throws java.lang.Throwable
java.lang.Throwablepublic FileStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic FileStream(SafeFileHandle handle, FileAccess access) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, IOException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionpublic FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, IOException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, DriveNotFoundException, OutOfMemoryException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionKeyNotFoundExceptionpublic 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
BeginRead in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullExceptionpublic 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
BeginRead in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullExceptionpublic 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
BeginWrite in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullExceptionpublic 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
BeginWrite in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionEndOfStreamExceptionSemaphoreFullExceptionpublic static FileStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileStream instancejava.lang.Throwable - in case of error during cast operationpublic 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
EndRead in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionpublic 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
EndWrite in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionEventSourceExceptionArgumentOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionpublic 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
Flush in class Streamjava.lang.ThrowableObjectDisposedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionEndOfStreamExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
FlushAsync in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionTaskSchedulerExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionEndOfStreamExceptionThreadAbortExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic FileSecurity GetAccessControl() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, OutOfMemoryException, UnauthorizedAccessException, InvalidOperationException, PrivilegeNotHeldException, SystemException, ArgumentOutOfRangeException, OverflowException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionInvalidOperationExceptionPrivilegeNotHeldExceptionSystemExceptionArgumentOutOfRangeExceptionOverflowExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionpublic boolean getIsAsync()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class StreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class StreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class StreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class StreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class StreamJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException
public SafeFileHandle getSafeFileHandle() throws java.lang.Throwable
java.lang.Throwablepublic void Lock(long position,
long length)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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
Read in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
ReadByte in class Streamjava.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
Seek in class Streamjava.lang.ThrowableArgumentExceptionObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void SetAccessControl(FileSecurity fileSecurity) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, FormatException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, InvalidProgramException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionFormatExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionInvalidProgramExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Streampublic 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
SetLength in class Streamjava.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void Unlock(long position,
long length)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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
Write in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionNullReferenceExceptionIndexOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionEndOfStreamExceptionEventSourceExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
Write in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionNullReferenceExceptionIndexOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionEndOfStreamExceptionEventSourceExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic 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
WriteAsync in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionTaskSchedulerExceptionSemaphoreFullExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionIOExceptionIndexOutOfRangeExceptionEndOfStreamExceptionpublic 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
WriteAsync in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionTaskSchedulerExceptionSemaphoreFullExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionIOExceptionIndexOutOfRangeExceptionEndOfStreamExceptionpublic 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
WriteByte in class Streamjava.lang.ThrowableObjectDisposedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionOperationCanceledExceptionWaitHandleCannotBeOpenedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionEndOfStreamExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullException