public class File extends NetObject
.NET documentation at https://learn.microsoft.com/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=8.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 |
AppendAllLines(java.lang.String path,
IEnumerable_1 contents)
Invokes the .NET member AppendAllLines.
|
static void |
AppendAllLines(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding)
Invokes the .NET member AppendAllLines.
|
static Task |
AppendAllLinesAsync(java.lang.String path,
IEnumerable_1 contents,
CancellationToken cancellationToken)
Invokes the .NET member AppendAllLinesAsync.
|
static Task |
AppendAllLinesAsync(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member AppendAllLinesAsync.
|
static void |
AppendAllText(java.lang.String path,
java.lang.String contents)
Invokes the .NET member AppendAllText.
|
static void |
AppendAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
Invokes the .NET member AppendAllText.
|
static Task |
AppendAllTextAsync(java.lang.String path,
java.lang.String contents,
CancellationToken cancellationToken)
Invokes the .NET member AppendAllTextAsync.
|
static Task |
AppendAllTextAsync(java.lang.String path,
java.lang.String contents,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member AppendAllTextAsync.
|
static StreamWriter |
AppendText(java.lang.String path)
Invokes the .NET member AppendText.
|
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)
Invokes the .NET member Copy.
|
static void |
Copy(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
Invokes the .NET member Copy.
|
static FileStream |
Create(java.lang.String path)
Invokes the .NET member Create.
|
static FileStream |
Create(java.lang.String path,
int bufferSize)
Invokes the .NET member Create.
|
static FileStream |
Create(java.lang.String path,
int bufferSize,
FileOptions options)
Invokes the .NET member Create.
|
static FileSystemInfo |
CreateSymbolicLink(java.lang.String path,
java.lang.String pathToTarget)
Invokes the .NET member CreateSymbolicLink.
|
static StreamWriter |
CreateText(java.lang.String path)
Invokes the .NET member CreateText.
|
static void |
Decrypt(java.lang.String path)
Invokes the .NET member Decrypt.
|
static void |
Delete(java.lang.String path)
Invokes the .NET member Delete.
|
static void |
Encrypt(java.lang.String path)
Invokes the .NET member Encrypt.
|
static boolean |
Exists(java.lang.String path)
Invokes the .NET member Exists.
|
static FileAttributes |
GetAttributes(SafeFileHandle fileHandle)
Invokes the .NET member GetAttributes.
|
static FileAttributes |
GetAttributes(java.lang.String path)
Invokes the .NET member GetAttributes.
|
static DateTime |
GetCreationTime(SafeFileHandle fileHandle)
Invokes the .NET member GetCreationTime.
|
static DateTime |
GetCreationTime(java.lang.String path)
Invokes the .NET member GetCreationTime.
|
static DateTime |
GetCreationTimeUtc(SafeFileHandle fileHandle)
Invokes the .NET member GetCreationTimeUtc.
|
static DateTime |
GetCreationTimeUtc(java.lang.String path)
Invokes the .NET member GetCreationTimeUtc.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static DateTime |
GetLastAccessTime(SafeFileHandle fileHandle)
Invokes the .NET member GetLastAccessTime.
|
static DateTime |
GetLastAccessTime(java.lang.String path)
Invokes the .NET member GetLastAccessTime.
|
static DateTime |
GetLastAccessTimeUtc(SafeFileHandle fileHandle)
Invokes the .NET member GetLastAccessTimeUtc.
|
static DateTime |
GetLastAccessTimeUtc(java.lang.String path)
Invokes the .NET member GetLastAccessTimeUtc.
|
static DateTime |
GetLastWriteTime(SafeFileHandle fileHandle)
Invokes the .NET member GetLastWriteTime.
|
static DateTime |
GetLastWriteTime(java.lang.String path)
Invokes the .NET member GetLastWriteTime.
|
static DateTime |
GetLastWriteTimeUtc(SafeFileHandle fileHandle)
Invokes the .NET member GetLastWriteTimeUtc.
|
static DateTime |
GetLastWriteTimeUtc(java.lang.String path)
Invokes the .NET member GetLastWriteTimeUtc.
|
static UnixFileMode |
GetUnixFileMode(SafeFileHandle fileHandle)
Invokes the .NET member GetUnixFileMode.
|
static UnixFileMode |
GetUnixFileMode(java.lang.String path)
Invokes the .NET member GetUnixFileMode.
|
static void |
Move(java.lang.String sourceFileName,
java.lang.String destFileName)
Invokes the .NET member Move.
|
static void |
Move(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
Invokes the .NET member Move.
|
static FileStream |
Open(java.lang.String path,
FileMode mode)
Invokes the .NET member Open.
|
static FileStream |
Open(java.lang.String path,
FileMode mode,
FileAccess access)
Invokes the .NET member Open.
|
static FileStream |
Open(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share)
Invokes the .NET member Open.
|
static FileStream |
Open(java.lang.String path,
FileStreamOptions options)
Invokes the .NET member Open.
|
static SafeFileHandle |
OpenHandle(java.lang.String path,
FileMode mode,
FileAccess access,
FileShare share,
FileOptions options,
long preallocationSize)
Invokes the .NET member OpenHandle.
|
static FileStream |
OpenRead(java.lang.String path)
Invokes the .NET member OpenRead.
|
static StreamReader |
OpenText(java.lang.String path)
Invokes the .NET member OpenText.
|
static FileStream |
OpenWrite(java.lang.String path)
Invokes the .NET member OpenWrite.
|
static byte[] |
ReadAllBytes(java.lang.String path)
Invokes the .NET member ReadAllBytes.
|
static Task_1 |
ReadAllBytesAsync(java.lang.String path,
CancellationToken cancellationToken)
Invokes the .NET member ReadAllBytesAsync.
|
static java.lang.String[] |
ReadAllLines(java.lang.String path)
Invokes the .NET member ReadAllLines.
|
static java.lang.String[] |
ReadAllLines(java.lang.String path,
Encoding encoding)
Invokes the .NET member ReadAllLines.
|
static Task_1 |
ReadAllLinesAsync(java.lang.String path,
CancellationToken cancellationToken)
Invokes the .NET member ReadAllLinesAsync.
|
static Task_1 |
ReadAllLinesAsync(java.lang.String path,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member ReadAllLinesAsync.
|
static java.lang.String |
ReadAllText(java.lang.String path)
Invokes the .NET member ReadAllText.
|
static java.lang.String |
ReadAllText(java.lang.String path,
Encoding encoding)
Invokes the .NET member ReadAllText.
|
static Task_1 |
ReadAllTextAsync(java.lang.String path,
CancellationToken cancellationToken)
Invokes the .NET member ReadAllTextAsync.
|
static Task_1 |
ReadAllTextAsync(java.lang.String path,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member ReadAllTextAsync.
|
static IEnumerable_1 |
ReadLines(java.lang.String path)
Invokes the .NET member ReadLines.
|
static IEnumerable_1 |
ReadLines(java.lang.String path,
Encoding encoding)
Invokes the .NET member ReadLines.
|
static IAsyncEnumerable_1 |
ReadLinesAsync(java.lang.String path,
CancellationToken cancellationToken)
Invokes the .NET member ReadLinesAsync.
|
static IAsyncEnumerable_1 |
ReadLinesAsync(java.lang.String path,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member ReadLinesAsync.
|
static void |
Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName)
Invokes the .NET member Replace.
|
static void |
Replace(java.lang.String sourceFileName,
java.lang.String destinationFileName,
java.lang.String destinationBackupFileName,
boolean ignoreMetadataErrors)
Invokes the .NET member Replace.
|
static FileSystemInfo |
ResolveLinkTarget(java.lang.String linkPath,
boolean returnFinalTarget)
Invokes the .NET member ResolveLinkTarget.
|
static void |
SetAttributes(SafeFileHandle fileHandle,
FileAttributes fileAttributes)
Invokes the .NET member SetAttributes.
|
static void |
SetAttributes(java.lang.String path,
FileAttributes fileAttributes)
Invokes the .NET member SetAttributes.
|
static void |
SetCreationTime(SafeFileHandle fileHandle,
DateTime creationTime)
Invokes the .NET member SetCreationTime.
|
static void |
SetCreationTime(java.lang.String path,
DateTime creationTime)
Invokes the .NET member SetCreationTime.
|
static void |
SetCreationTimeUtc(SafeFileHandle fileHandle,
DateTime creationTimeUtc)
Invokes the .NET member SetCreationTimeUtc.
|
static void |
SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
Invokes the .NET member SetCreationTimeUtc.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
SetLastAccessTime(SafeFileHandle fileHandle,
DateTime lastAccessTime)
Invokes the .NET member SetLastAccessTime.
|
static void |
SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
Invokes the .NET member SetLastAccessTime.
|
static void |
SetLastAccessTimeUtc(SafeFileHandle fileHandle,
DateTime lastAccessTimeUtc)
Invokes the .NET member SetLastAccessTimeUtc.
|
static void |
SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
Invokes the .NET member SetLastAccessTimeUtc.
|
static void |
SetLastWriteTime(SafeFileHandle fileHandle,
DateTime lastWriteTime)
Invokes the .NET member SetLastWriteTime.
|
static void |
SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
Invokes the .NET member SetLastWriteTime.
|
static void |
SetLastWriteTimeUtc(SafeFileHandle fileHandle,
DateTime lastWriteTimeUtc)
Invokes the .NET member SetLastWriteTimeUtc.
|
static void |
SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
Invokes the .NET member SetLastWriteTimeUtc.
|
static void |
SetUnixFileMode(SafeFileHandle fileHandle,
UnixFileMode mode)
Invokes the .NET member SetUnixFileMode.
|
static void |
SetUnixFileMode(java.lang.String path,
UnixFileMode mode)
Invokes the .NET member SetUnixFileMode.
|
static void |
WriteAllBytes(java.lang.String path,
byte[] bytes)
Invokes the .NET member WriteAllBytes.
|
static void |
WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member WriteAllBytes.
|
static Task |
WriteAllBytesAsync(java.lang.String path,
byte[] bytes,
CancellationToken cancellationToken)
Invokes the .NET member WriteAllBytesAsync.
|
static Task |
WriteAllBytesAsync(java.lang.String dupParam0,
JCORefOut dupParam1,
CancellationToken dupParam2)
Invokes the .NET member WriteAllBytesAsync.
|
static void |
WriteAllLines(java.lang.String path,
IEnumerable_1 contents)
Invokes the .NET member WriteAllLines.
|
static void |
WriteAllLines(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding)
Invokes the .NET member WriteAllLines.
|
static void |
WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member WriteAllLines.
|
static void |
WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1,
Encoding dupParam2)
Invokes the .NET member WriteAllLines.
|
static void |
WriteAllLines(java.lang.String path,
java.lang.String[] contents)
Invokes the .NET member WriteAllLines.
|
static void |
WriteAllLines(java.lang.String path,
java.lang.String[] contents,
Encoding encoding)
Invokes the .NET member WriteAllLines.
|
static Task |
WriteAllLinesAsync(java.lang.String path,
IEnumerable_1 contents,
CancellationToken cancellationToken)
Invokes the .NET member WriteAllLinesAsync.
|
static Task |
WriteAllLinesAsync(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member WriteAllLinesAsync.
|
static void |
WriteAllText(java.lang.String path,
java.lang.String contents)
Invokes the .NET member WriteAllText.
|
static void |
WriteAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
Invokes the .NET member WriteAllText.
|
static Task |
WriteAllTextAsync(java.lang.String path,
java.lang.String contents,
CancellationToken cancellationToken)
Invokes the .NET member WriteAllTextAsync.
|
static Task |
WriteAllTextAsync(java.lang.String path,
java.lang.String contents,
Encoding encoding,
CancellationToken cancellationToken)
Invokes the .NET member WriteAllTextAsync.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static void AppendAllLines(java.lang.String path,
IEnumerable_1 contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void AppendAllLines(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1encoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Task AppendAllLinesAsync(java.lang.String path, IEnumerable_1 contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static Task AppendAllLinesAsync(java.lang.String path, IEnumerable_1 contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, FormatException, OutOfMemoryException, SerializationException, IOException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1encoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic static void AppendAllText(java.lang.String path,
java.lang.String contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
IndexOutOfRangeException,
CultureNotFoundException,
IOException,
ObjectDisposedException,
NotSupportedException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static void AppendAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
NotSupportedException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringencoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static StreamWriter AppendText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic 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,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
IOException
sourceFileName - the argument of type java.lang.StringdestFileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itpublic static void Copy(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException,
IOException
sourceFileName - the argument of type java.lang.StringdestFileName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itpublic static FileStream Create(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, SerializationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static FileStream Create(java.lang.String path, int bufferSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.StringbufferSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static FileStream Create(java.lang.String path, int bufferSize, FileOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, SerializationException, IOException
path - the argument of type java.lang.StringbufferSize - the argument of type intoptions - the argument of type FileOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic static FileSystemInfo CreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException
path - the argument of type java.lang.StringpathToTarget - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static StreamWriter CreateText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static void Decrypt(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static void Delete(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static void Encrypt(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static boolean Exists(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static FileAttributes GetAttributes(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static FileAttributes GetAttributes(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetCreationTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetCreationTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static DateTime GetLastAccessTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastAccessTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastWriteTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastWriteTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static UnixFileMode GetUnixFileMode(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
fileHandle - the argument of type SafeFileHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static UnixFileMode GetUnixFileMode(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void Move(java.lang.String sourceFileName,
java.lang.String destFileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
FileNotFoundException
sourceFileName - the argument of type java.lang.StringdestFileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic static void Move(java.lang.String sourceFileName,
java.lang.String destFileName,
boolean overwrite)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
FileNotFoundException
sourceFileName - the argument of type java.lang.StringdestFileName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic static FileStream Open(java.lang.String path, FileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static FileStream Open(java.lang.String path, FileMode mode, FileAccess access) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static FileStream Open(java.lang.String path, FileMode mode, FileAccess access, FileShare share) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileSharejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static FileStream Open(java.lang.String path, FileStreamOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException, IOException
path - the argument of type java.lang.Stringoptions - the argument of type FileStreamOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic static SafeFileHandle OpenHandle(java.lang.String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, ApplicationException
path - the argument of type java.lang.Stringmode - the argument of type FileModeaccess - the argument of type FileAccessshare - the argument of type FileShareoptions - the argument of type FileOptionspreallocationSize - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itpublic static FileStream OpenRead(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static StreamReader OpenText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static FileStream OpenWrite(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static byte[] ReadAllBytes(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
IOException,
ApplicationException,
ArrayTypeMismatchException,
WaitHandleCannotBeOpenedException,
ObjectDisposedException,
AbandonedMutexException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static Task_1 ReadAllBytesAsync(java.lang.String path, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, ApplicationException, TypeLoadException, ArgumentNullException
path - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itTypeLoadException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static java.lang.String[] ReadAllLines(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
InvalidOperationException,
NotSupportedException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static java.lang.String[] ReadAllLines(java.lang.String path,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Task_1 ReadAllLinesAsync(java.lang.String path, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Task_1 ReadAllLinesAsync(java.lang.String path, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static java.lang.String ReadAllText(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String ReadAllText(java.lang.String path,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException
path - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static Task_1 ReadAllTextAsync(java.lang.String path, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Task_1 ReadAllTextAsync(java.lang.String path, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static IEnumerable_1 ReadLines(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static IEnumerable_1 ReadLines(java.lang.String path, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static IAsyncEnumerable_1 ReadLinesAsync(java.lang.String path, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static IAsyncEnumerable_1 ReadLinesAsync(java.lang.String path, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, FormatException, OutOfMemoryException, SerializationException, IOException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic 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
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringdestinationBackupFileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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,
ExternalException,
CultureNotFoundException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringdestinationBackupFileName - the argument of type java.lang.StringignoreMetadataErrors - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static FileSystemInfo ResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, ArrayTypeMismatchException
linkPath - the argument of type java.lang.StringreturnFinalTarget - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static void SetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
fileHandle - the argument of type SafeFileHandlefileAttributes - the argument of type FileAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void SetAttributes(java.lang.String path,
FileAttributes fileAttributes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException
path - the argument of type java.lang.StringfileAttributes - the argument of type FileAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static void SetCreationTime(SafeFileHandle fileHandle, DateTime creationTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException
fileHandle - the argument of type SafeFileHandlecreationTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetCreationTime(java.lang.String path,
DateTime creationTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringcreationTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
fileHandle - the argument of type SafeFileHandlecreationTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringcreationTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void SetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException
fileHandle - the argument of type SafeFileHandlelastAccessTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastAccessTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
fileHandle - the argument of type SafeFileHandlelastAccessTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastAccessTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException
fileHandle - the argument of type SafeFileHandlelastWriteTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastWriteTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, OverflowException
fileHandle - the argument of type SafeFileHandlelastWriteTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static void SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastWriteTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
fileHandle - the argument of type SafeFileHandlemode - the argument of type UnixFileModejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetUnixFileMode(java.lang.String path,
UnixFileMode mode)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
path - the argument of type java.lang.Stringmode - the argument of type UnixFileModejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void WriteAllBytes(java.lang.String path,
byte[] bytes)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
IOException,
ApplicationException,
WaitHandleCannotBeOpenedException,
ObjectDisposedException,
ArrayTypeMismatchException,
AbandonedMutexException
path - the argument of type java.lang.Stringbytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static void WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
IOException,
ApplicationException,
WaitHandleCannotBeOpenedException,
ObjectDisposedException,
ArrayTypeMismatchException,
AbandonedMutexException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static Task WriteAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringbytes - the argument of type byte[]cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Task WriteAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String path,
IEnumerable_1 contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String path,
IEnumerable_1 contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1encoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String dupParam0,
JCORefOut dupParam1,
Encoding dupParam2)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String path,
java.lang.String[] contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void WriteAllLines(java.lang.String path,
java.lang.String[] contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
PlatformNotSupportedException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.String[]encoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Task WriteAllLinesAsync(java.lang.String path, IEnumerable_1 contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, OutOfMemoryException, SerializationException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static Task WriteAllLinesAsync(java.lang.String path, IEnumerable_1 contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, FormatException, OutOfMemoryException, SerializationException, IOException
path - the argument of type java.lang.Stringcontents - the argument of type IEnumerable_1encoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic static void WriteAllText(java.lang.String path,
java.lang.String contents)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
OutOfMemoryException,
SerializationException,
IndexOutOfRangeException,
CultureNotFoundException,
IOException,
ObjectDisposedException,
NotSupportedException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static void WriteAllText(java.lang.String path,
java.lang.String contents,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
NotSupportedException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.StringcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
path - the argument of type java.lang.Stringcontents - the argument of type java.lang.Stringencoding - the argument of type EncodingcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises it