public class IsolatedStorageFileStream extends FileStream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.IsolatedStorage.IsolatedStorageFileStream
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: System.IO.IsolatedStorage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.IsolatedStorage
|
static java.lang.String |
className
Qualified class name: System.IO.IsolatedStorage.IsolatedStorageFileStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IsolatedStorageFileStream() |
IsolatedStorageFileStream(java.lang.Object instance)
Internal constructor.
|
IsolatedStorageFileStream(java.lang.String path,
FileMode mode) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize,
IsolatedStorageFile isf) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
IsolatedStorageFile isf) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
IsolatedStorageFile isf) |
IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
IsolatedStorageFile isf) |
| 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 IsolatedStorageFileStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IsolatedStorageFileStream, a cast assert is made to check if types are compatible. |
ValueTask |
DisposeAsync() |
int |
EndRead(IAsyncResult asyncResult) |
void |
EndWrite(IAsyncResult asyncResult) |
void |
Flush() |
void |
Flush(boolean flushToDisk) |
Task |
FlushAsync(CancellationToken cancellationToken) |
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
|
void |
Lock(long position,
long length) |
int |
Read(byte[] buffer,
int offset,
int count) |
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
ReadByte() |
long |
Seek(long offset,
SeekOrigin origin) |
void |
setJCOInstance(JCObject instance) |
void |
SetLength(long value) |
void |
Unlock(long position,
long length) |
void |
Write(byte[] buffer,
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) |
CopyTo, CopyToAsync, getIsAsync, getName, getSafeFileHandleclose, Close, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IsolatedStorageFileStream()
throws java.lang.Throwable
java.lang.Throwablepublic IsolatedStorageFileStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IsolatedStorageException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
SerializationException
public IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ApplicationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionInvalidOperationExceptionApplicationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSerializationExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ApplicationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionInvalidOperationExceptionApplicationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSerializationExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ApplicationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionInvalidOperationExceptionApplicationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSerializationExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
int bufferSize,
IsolatedStorageFile isf)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
AbandonedMutexException,
OutOfMemoryException,
Win32Exception,
ApplicationException,
ObjectDisposedException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionAbandonedMutexExceptionOutOfMemoryExceptionWin32ExceptionApplicationExceptionObjectDisposedExceptionSerializationExceptionIOExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
IsolatedStorageFile isf)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ApplicationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionInvalidOperationExceptionApplicationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSerializationExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
FileAccess access,
IsolatedStorageFile isf)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IsolatedStorageException,
FormatException,
InvalidOperationException,
ApplicationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SerializationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIsolatedStorageExceptionFormatExceptionInvalidOperationExceptionApplicationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSerializationExceptionpublic IsolatedStorageFileStream(java.lang.String path,
FileMode mode,
IsolatedStorageFile isf)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IsolatedStorageException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
SerializationException
public IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginRead in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginRead in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, NetObject stateObject) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginWrite in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginWrite in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic static IsolatedStorageFileStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IsolatedStorageFileStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIsolatedStorageFileStream instancejava.lang.Throwable - in case of error during cast operationpublic ValueTask DisposeAsync() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, NullReferenceException, InvalidOperationException, IndexOutOfRangeException
DisposeAsync in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentNullExceptionNullReferenceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndRead in class FileStreamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndWrite in class FileStreamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void Flush()
throws java.lang.Throwable
Flush in class FileStreamjava.lang.Throwablepublic void Flush(boolean flushToDisk)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Flush in class FileStreamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionpublic Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException
FlushAsync in class FileStreamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionEventSourceExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class FileStreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class FileStreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class FileStreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class FileStreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class FileStreamJCType representing the CLR Type of the instantiated Classpublic void Lock(long position,
long length)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
Read in class FileStreamjava.lang.Throwablepublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
Read in class FileStreamjava.lang.Throwablepublic int ReadByte()
throws java.lang.Throwable
ReadByte in class FileStreamjava.lang.Throwablepublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable
Seek in class FileStreamjava.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class FileStreampublic void SetLength(long value)
throws java.lang.Throwable
SetLength in class FileStreamjava.lang.Throwablepublic void Unlock(long position,
long length)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Unlock in class FileStreamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
Write in class FileStreamjava.lang.Throwablepublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
Write in class FileStreamjava.lang.Throwablepublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
WriteAsync in class FileStreamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionArgumentExceptionInvalidOperationExceptionpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
WriteAsync in class FileStreamjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionPlatformNotSupportedExceptionNullReferenceExceptionObjectDisposedExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionArgumentExceptionInvalidOperationExceptionpublic void WriteByte(byte value)
throws java.lang.Throwable
WriteByte in class FileStreamjava.lang.Throwable