public class File extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.File
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.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.File
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
File() |
File(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AppendAllBytes(java.lang.String path,
byte[] bytes) |
static void |
AppendAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1) |
static Task |
AppendAllBytesAsync(java.lang.String path,
byte[] bytes,
CancellationToken cancellationToken) |
static Task |
AppendAllBytesAsync(java.lang.String dupParam0,
JCORefOut dupParam1,
CancellationToken dupParam2) |
static void |
AppendAllText(java.lang.String path,
java.lang.String contents) |
static void |
AppendAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding) |
static Task |
AppendAllTextAsync(java.lang.String path,
java.lang.String contents,
CancellationToken cancellationToken) |
static Task |
AppendAllTextAsync(java.lang.String path,
java.lang.String contents,
Encoding encoding,
CancellationToken cancellationToken) |
static StreamWriter |
AppendText(java.lang.String path) |
static File |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into File, a cast assert is made to check if types are compatible. |
static void |
Copy(java.lang.String sourceFileName,
java.lang.String destFileName) |
static void |
Copy(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite) |
static FileStream |
Create(java.lang.String path) |
static FileStream |
Create(java.lang.String path,
int bufferSize) |
static FileStream |
Create(java.lang.String path,
int bufferSize,
FileOptions options) |
static FileSystemInfo |
CreateSymbolicLink(java.lang.String path,
java.lang.String pathToTarget) |
static StreamWriter |
CreateText(java.lang.String path) |
static void |
Decrypt(java.lang.String path) |
static void |
Delete(java.lang.String path) |
static void |
Encrypt(java.lang.String path) |
static boolean |
Exists(java.lang.String path) |
static FileAttributes |
GetAttributes(SafeFileHandle fileHandle) |
static FileAttributes |
GetAttributes(java.lang.String path) |
static DateTime |
GetCreationTime(SafeFileHandle fileHandle) |
static DateTime |
GetCreationTime(java.lang.String path) |
static DateTime |
GetCreationTimeUtc(SafeFileHandle fileHandle) |
static DateTime |
GetCreationTimeUtc(java.lang.String path) |
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
|
static DateTime |
GetLastAccessTime(SafeFileHandle fileHandle) |
static DateTime |
GetLastAccessTime(java.lang.String path) |
static DateTime |
GetLastAccessTimeUtc(SafeFileHandle fileHandle) |
static DateTime |
GetLastAccessTimeUtc(java.lang.String path) |
static DateTime |
GetLastWriteTime(SafeFileHandle fileHandle) |
static DateTime |
GetLastWriteTime(java.lang.String path) |
static DateTime |
GetLastWriteTimeUtc(SafeFileHandle fileHandle) |
static DateTime |
GetLastWriteTimeUtc(java.lang.String path) |
static UnixFileMode |
GetUnixFileMode(SafeFileHandle fileHandle) |
static UnixFileMode |
GetUnixFileMode(java.lang.String path) |
static void |
Move(java.lang.String sourceFileName,
java.lang.String destFileName) |
static void |
Move(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite) |
static FileStream |
Open(java.lang.String path,
FileMode mode) |
static FileStream |
Open(java.lang.String path,
FileMode mode,
FileAccess access) |
static FileStream |
Open(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share) |
static FileStream |
Open(java.lang.String path,
FileStreamOptions options) |
static SafeFileHandle |
OpenHandle(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
FileOptions options,
long preallocationSize) |
static FileStream |
OpenRead(java.lang.String path) |
static StreamReader |
OpenText(java.lang.String path) |
static FileStream |
OpenWrite(java.lang.String path) |
static byte[] |
ReadAllBytes(java.lang.String path) |
static java.lang.String[] |
ReadAllLines(java.lang.String path) |
static java.lang.String[] |
ReadAllLines(java.lang.String path,
Encoding encoding) |
static java.lang.String |
ReadAllText(java.lang.String path) |
static java.lang.String |
ReadAllText(java.lang.String path,
Encoding encoding) |
static void |
Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName) |
static void |
Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName,
boolean ignoreMetadataErrors) |
static FileSystemInfo |
ResolveLinkTarget(java.lang.String linkPath,
boolean returnFinalTarget) |
static void |
SetAttributes(SafeFileHandle fileHandle,
FileAttributes fileAttributes) |
static void |
SetAttributes(java.lang.String path,
FileAttributes fileAttributes) |
static void |
SetCreationTime(SafeFileHandle fileHandle,
DateTime creationTime) |
static void |
SetCreationTime(java.lang.String path,
DateTime creationTime) |
static void |
SetCreationTimeUtc(SafeFileHandle fileHandle,
DateTime creationTimeUtc) |
static void |
SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc) |
void |
setJCOInstance(JCObject instance) |
static void |
SetLastAccessTime(SafeFileHandle fileHandle,
DateTime lastAccessTime) |
static void |
SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime) |
static void |
SetLastAccessTimeUtc(SafeFileHandle fileHandle,
DateTime lastAccessTimeUtc) |
static void |
SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc) |
static void |
SetLastWriteTime(SafeFileHandle fileHandle,
DateTime lastWriteTime) |
static void |
SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime) |
static void |
SetLastWriteTimeUtc(SafeFileHandle fileHandle,
DateTime lastWriteTimeUtc) |
static void |
SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc) |
static void |
SetUnixFileMode(SafeFileHandle fileHandle,
UnixFileMode mode) |
static void |
SetUnixFileMode(java.lang.String path,
UnixFileMode mode) |
static void |
WriteAllBytes(java.lang.String path,
byte[] bytes) |
static void |
WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1) |
static Task |
WriteAllBytesAsync(java.lang.String path,
byte[] bytes,
CancellationToken cancellationToken) |
static Task |
WriteAllBytesAsync(java.lang.String dupParam0,
JCORefOut dupParam1,
CancellationToken dupParam2) |
static void |
WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1) |
static void |
WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1,
Encoding dupParam2) |
static void |
WriteAllLines(java.lang.String path,
java.lang.String[] contents) |
static void |
WriteAllLines(java.lang.String path,
java.lang.String[] contents,
Encoding encoding) |
static void |
WriteAllText(java.lang.String path,
java.lang.String contents) |
static void |
WriteAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding) |
static Task |
WriteAllTextAsync(java.lang.String path,
java.lang.String contents,
CancellationToken cancellationToken) |
static Task |
WriteAllTextAsync(java.lang.String path,
java.lang.String contents,
Encoding encoding,
CancellationToken cancellationToken) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public File()
throws java.lang.Throwable
java.lang.Throwablepublic File(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static void AppendAllBytes(java.lang.String path,
byte[] bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException,
ThreadStateException,
AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionpublic static void AppendAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException,
ThreadStateException,
AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionpublic static Task AppendAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Task AppendAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void AppendAllText(java.lang.String path,
java.lang.String contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
CultureNotFoundException,
IOException,
ObjectDisposedException,
AbandonedMutexException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionIOExceptionObjectDisposedExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionpublic static void AppendAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
SerializationException,
IndexOutOfRangeException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
ThreadStateException,
AbandonedMutexException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionpublic static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static StreamWriter AppendText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static File cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into File, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFile instancejava.lang.Throwable - in case of error during cast operationpublic static void Copy(java.lang.String sourceFileName,
java.lang.String destFileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
IOException
public static void Copy(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionpublic static FileStream Create(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationExceptionpublic static FileStream Create(java.lang.String path, int bufferSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
public static FileStream Create(java.lang.String path, int bufferSize, FileOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, NotSupportedException, SerializationException, IOException
public static FileSystemInfo CreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
public static StreamWriter CreateText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static void Decrypt(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException
public static void Delete(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic static void Encrypt(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException
public static boolean Exists(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static FileAttributes GetAttributes(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static FileAttributes GetAttributes(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetCreationTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetCreationTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static DateTime GetLastAccessTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetLastAccessTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetLastWriteTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetLastWriteTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static UnixFileMode GetUnixFileMode(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public static UnixFileMode GetUnixFileMode(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public static void Move(java.lang.String sourceFileName,
java.lang.String destFileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FileNotFoundException
public static void Move(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FileNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundExceptionpublic static FileStream Open(java.lang.String path, FileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationExceptionpublic static FileStream Open(java.lang.String path, FileMode mode, FileAccess access) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationExceptionpublic static FileStream Open(java.lang.String path, FileMode mode, FileAccess access, FileShare share) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
public static FileStream Open(java.lang.String path, FileStreamOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, IOException
public static SafeFileHandle OpenHandle(java.lang.String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, NotSupportedException, MissingMethodException, TargetInvocationException, IOException, ApplicationException, ThreadStateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionApplicationExceptionThreadStateExceptionpublic static FileStream OpenRead(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
public static StreamReader OpenText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static FileStream OpenWrite(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
public static byte[] ReadAllBytes(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
NotSupportedException,
InvalidOperationException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException,
ApplicationException,
ThreadStateException,
ArrayTypeMismatchException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidOperationExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionApplicationExceptionThreadStateExceptionArrayTypeMismatchExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static java.lang.String[] ReadAllLines(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException,
OutOfMemoryException,
NotSupportedException
public static java.lang.String[] ReadAllLines(java.lang.String path,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String ReadAllText(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
public static java.lang.String ReadAllText(java.lang.String path,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException
public static void Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException
public static void Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName,
boolean ignoreMetadataErrors)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic static FileSystemInfo ResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidOperationExceptionArrayTypeMismatchExceptionpublic static void SetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static void SetAttributes(java.lang.String path,
FileAttributes fileAttributes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
public static void SetCreationTime(SafeFileHandle fileHandle, DateTime creationTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionOverflowExceptionpublic static void SetCreationTime(java.lang.String path,
DateTime creationTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, IndexOutOfRangeException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowExceptionpublic static void SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionOverflowExceptionpublic static void SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, IndexOutOfRangeException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowExceptionpublic static void SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionOverflowExceptionpublic static void SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, NullReferenceException, IndexOutOfRangeException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowExceptionpublic static void SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public static void SetUnixFileMode(java.lang.String path,
UnixFileMode mode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
public static void WriteAllBytes(java.lang.String path,
byte[] bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException,
ThreadStateException,
AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionpublic static void WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException,
ThreadStateException,
AbandonedMutexException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionpublic static Task WriteAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Task WriteAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static void WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1,
Encoding dupParam2)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static void WriteAllLines(java.lang.String path,
java.lang.String[] contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static void WriteAllLines(java.lang.String path,
java.lang.String[] contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static void WriteAllText(java.lang.String path,
java.lang.String contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
CultureNotFoundException,
IOException,
ObjectDisposedException,
AbandonedMutexException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionIOExceptionObjectDisposedExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionpublic static void WriteAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
SerializationException,
IndexOutOfRangeException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
ThreadStateException,
AbandonedMutexException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionThreadStateExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionpublic static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException