Package system.io
Class File
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.io.File
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class File extends NetObject
The base .NET class managing System.IO.File, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.File
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.IO.Filestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidAppendAllBytes(java.lang.String path, byte[] bytes)static voidAppendAllBytes(java.lang.String dupParam0, JCORefOut dupParam1)static TaskAppendAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken)static TaskAppendAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2)static voidAppendAllText(java.lang.String path, java.lang.String contents)static voidAppendAllText(java.lang.String path, java.lang.String contents, Encoding encoding)static TaskAppendAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken)static TaskAppendAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken)static StreamWriterAppendText(java.lang.String path)static Filecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoFile, a cast assert is made to check if types are compatible.static voidCopy(java.lang.String sourceFileName, java.lang.String destFileName)static voidCopy(java.lang.String sourceFileName, java.lang.String destFileName, boolean overwrite)static FileStreamCreate(java.lang.String path)static FileStreamCreate(java.lang.String path, int bufferSize)static FileStreamCreate(java.lang.String path, int bufferSize, FileOptions options)static FileSystemInfoCreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget)static StreamWriterCreateText(java.lang.String path)static voidDecrypt(java.lang.String path)static voidDelete(java.lang.String path)static voidEncrypt(java.lang.String path)static booleanExists(java.lang.String path)static FileAttributesGetAttributes(java.lang.String path)static FileAttributesGetAttributes(SafeFileHandle fileHandle)static DateTimeGetCreationTime(java.lang.String path)static DateTimeGetCreationTime(SafeFileHandle fileHandle)static DateTimeGetCreationTimeUtc(java.lang.String path)static DateTimeGetCreationTimeUtc(SafeFileHandle fileHandle)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic DateTimeGetLastAccessTime(java.lang.String path)static DateTimeGetLastAccessTime(SafeFileHandle fileHandle)static DateTimeGetLastAccessTimeUtc(java.lang.String path)static DateTimeGetLastAccessTimeUtc(SafeFileHandle fileHandle)static DateTimeGetLastWriteTime(java.lang.String path)static DateTimeGetLastWriteTime(SafeFileHandle fileHandle)static DateTimeGetLastWriteTimeUtc(java.lang.String path)static DateTimeGetLastWriteTimeUtc(SafeFileHandle fileHandle)static UnixFileModeGetUnixFileMode(java.lang.String path)static UnixFileModeGetUnixFileMode(SafeFileHandle fileHandle)static voidMove(java.lang.String sourceFileName, java.lang.String destFileName)static voidMove(java.lang.String sourceFileName, java.lang.String destFileName, boolean overwrite)static FileStreamOpen(java.lang.String path, FileMode mode)static FileStreamOpen(java.lang.String path, FileMode mode, FileAccess access)static FileStreamOpen(java.lang.String path, FileMode mode, FileAccess access, FileShare share)static FileStreamOpen(java.lang.String path, FileStreamOptions options)static SafeFileHandleOpenHandle(java.lang.String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize)static FileStreamOpenRead(java.lang.String path)static StreamReaderOpenText(java.lang.String path)static FileStreamOpenWrite(java.lang.String path)static byte[]ReadAllBytes(java.lang.String path)static java.lang.String[]ReadAllLines(java.lang.String path)static java.lang.String[]ReadAllLines(java.lang.String path, Encoding encoding)static java.lang.StringReadAllText(java.lang.String path)static java.lang.StringReadAllText(java.lang.String path, Encoding encoding)static voidReplace(java.lang.String sourceFileName, java.lang.String destinationFileName, java.lang.String destinationBackupFileName)static voidReplace(java.lang.String sourceFileName, java.lang.String destinationFileName, java.lang.String destinationBackupFileName, boolean ignoreMetadataErrors)static FileSystemInfoResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget)static voidSetAttributes(java.lang.String path, FileAttributes fileAttributes)static voidSetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes)static voidSetCreationTime(java.lang.String path, DateTime creationTime)static voidSetCreationTime(SafeFileHandle fileHandle, DateTime creationTime)static voidSetCreationTimeUtc(java.lang.String path, DateTime creationTimeUtc)static voidSetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc)voidsetJCOInstance(JCObject instance)static voidSetLastAccessTime(java.lang.String path, DateTime lastAccessTime)static voidSetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime)static voidSetLastAccessTimeUtc(java.lang.String path, DateTime lastAccessTimeUtc)static voidSetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc)static voidSetLastWriteTime(java.lang.String path, DateTime lastWriteTime)static voidSetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime)static voidSetLastWriteTimeUtc(java.lang.String path, DateTime lastWriteTimeUtc)static voidSetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc)static voidSetUnixFileMode(java.lang.String path, UnixFileMode mode)static voidSetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode)static voidWriteAllBytes(java.lang.String path, byte[] bytes)static voidWriteAllBytes(java.lang.String dupParam0, JCORefOut dupParam1)static TaskWriteAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken)static TaskWriteAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2)static voidWriteAllLines(java.lang.String path, java.lang.String[] contents)static voidWriteAllLines(java.lang.String path, java.lang.String[] contents, Encoding encoding)static voidWriteAllLines(java.lang.String dupParam0, JCORefOut dupParam1)static voidWriteAllLines(java.lang.String dupParam0, JCORefOut dupParam1, Encoding dupParam2)static voidWriteAllText(java.lang.String path, java.lang.String contents)static voidWriteAllText(java.lang.String path, java.lang.String contents, Encoding encoding)static TaskWriteAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken)static TaskWriteAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.IO.File- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static File cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoFile, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Fileinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Exists
public static boolean Exists(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
ReadAllBytes
public static byte[] ReadAllBytes(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, NotSupportedException, MissingMethodException, TargetInvocationException, IOException, ApplicationException, ArrayTypeMismatchException, WaitHandleCannotBeOpenedException, ObjectDisposedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionApplicationExceptionArrayTypeMismatchExceptionWaitHandleCannotBeOpenedExceptionObjectDisposedExceptionAbandonedMutexException
-
OpenHandle
public static SafeFileHandle OpenHandle(java.lang.String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, NotSupportedException, MissingMethodException, TargetInvocationException, IOException, ApplicationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionApplicationException
-
GetCreationTime
public static DateTime GetCreationTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetCreationTime
public static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetCreationTimeUtc
public static DateTime GetCreationTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetCreationTimeUtc
public static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetLastAccessTime
public static DateTime GetLastAccessTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetLastAccessTime
public static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetLastAccessTimeUtc
public static DateTime GetLastAccessTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetLastAccessTimeUtc
public static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetLastWriteTime
public static DateTime GetLastWriteTime(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetLastWriteTime
public static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetLastWriteTimeUtc
public static DateTime GetLastWriteTimeUtc(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetLastWriteTimeUtc
public static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
GetAttributes
public static FileAttributes GetAttributes(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetAttributes
public static FileAttributes GetAttributes(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
Create
public static FileStream Create(java.lang.String path, int bufferSize, FileOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, SerializationException, IOException
-
Create
public static FileStream Create(java.lang.String path, int bufferSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
-
Create
public static FileStream Create(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationException
-
Open
public static FileStream Open(java.lang.String path, FileMode mode, FileAccess access, FileShare share) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
-
Open
public static FileStream Open(java.lang.String path, FileMode mode, FileAccess access) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationException
-
Open
public static FileStream Open(java.lang.String path, FileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationException
-
Open
public static FileStream Open(java.lang.String path, FileStreamOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, IOException
-
OpenRead
public static FileStream OpenRead(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
-
OpenWrite
public static FileStream OpenWrite(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SerializationException
-
CreateSymbolicLink
public static FileSystemInfo CreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
-
ResolveLinkTarget
public static FileSystemInfo ResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, InvalidOperationException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidOperationExceptionArrayTypeMismatchException
-
OpenText
public static StreamReader OpenText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
AppendText
public static StreamWriter AppendText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
CreateText
public static StreamWriter CreateText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
GetUnixFileMode
public static UnixFileMode GetUnixFileMode(SafeFileHandle fileHandle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
GetUnixFileMode
public static UnixFileMode GetUnixFileMode(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
ReadAllText
public static java.lang.String ReadAllText(java.lang.String path, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException
-
ReadAllText
public static java.lang.String ReadAllText(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, OutOfMemoryException
-
ReadAllLines
public static java.lang.String[] ReadAllLines(java.lang.String path, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
-
ReadAllLines
public static java.lang.String[] ReadAllLines(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, NotSupportedException
-
AppendAllBytesAsync
public static Task AppendAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
AppendAllBytesAsync
public static Task AppendAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
AppendAllTextAsync
public static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeException
-
AppendAllTextAsync
public static Task AppendAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentException
-
WriteAllBytesAsync
public static Task WriteAllBytesAsync(java.lang.String path, byte[] bytes, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
WriteAllBytesAsync
public static Task WriteAllBytesAsync(java.lang.String dupParam0, JCORefOut dupParam1, CancellationToken dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
WriteAllTextAsync
public static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, Encoding encoding, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeException
-
WriteAllTextAsync
public static Task WriteAllTextAsync(java.lang.String path, java.lang.String contents, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentException
-
AppendAllBytes
public static void AppendAllBytes(java.lang.String path, byte[] bytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, MissingMethodException, TargetInvocationException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexException
-
AppendAllBytes
public static void AppendAllBytes(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, MissingMethodException, TargetInvocationException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexException
-
AppendAllText
public static void AppendAllText(java.lang.String path, java.lang.String contents, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, IndexOutOfRangeException, NotSupportedException, MissingMethodException, TargetInvocationException, ObjectDisposedException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionArrayTypeMismatchException
-
AppendAllText
public static void AppendAllText(java.lang.String path, java.lang.String contents) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, SerializationException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, CultureNotFoundException, IOException, ObjectDisposedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionIOExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionArrayTypeMismatchException
-
Copy
public static void Copy(java.lang.String sourceFileName, java.lang.String destFileName, boolean overwrite) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, ObjectDisposedException, IOException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOException
-
Copy
public static void Copy(java.lang.String sourceFileName, java.lang.String destFileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException, IOException
-
Decrypt
public static void Decrypt(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException
-
Delete
public static void Delete(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundException
-
Encrypt
public static void Encrypt(java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException
-
Move
public static void Move(java.lang.String sourceFileName, java.lang.String destFileName, boolean overwrite) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FileNotFoundException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundException
-
Move
public static void Move(java.lang.String sourceFileName, java.lang.String destFileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FileNotFoundException
-
Replace
public static void Replace(java.lang.String sourceFileName, java.lang.String destinationFileName, java.lang.String destinationBackupFileName, boolean ignoreMetadataErrors) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundException
-
Replace
public static void Replace(java.lang.String sourceFileName, java.lang.String destinationFileName, java.lang.String destinationBackupFileName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException
-
SetAttributes
public static void SetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
SetAttributes
public static void SetAttributes(java.lang.String path, FileAttributes fileAttributes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
-
SetCreationTime
public static void SetCreationTime(SafeFileHandle fileHandle, DateTime creationTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionOverflowException
-
SetCreationTime
public static void SetCreationTime(java.lang.String path, DateTime creationTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetCreationTimeUtc
public static void SetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowException
-
SetCreationTimeUtc
public static void SetCreationTimeUtc(java.lang.String path, DateTime creationTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetLastAccessTime
public static void SetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionOverflowException
-
SetLastAccessTime
public static void SetLastAccessTime(java.lang.String path, DateTime lastAccessTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetLastAccessTimeUtc
public static void SetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowException
-
SetLastAccessTimeUtc
public static void SetLastAccessTimeUtc(java.lang.String path, DateTime lastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetLastWriteTime
public static void SetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionOverflowException
-
SetLastWriteTime
public static void SetLastWriteTime(java.lang.String path, DateTime lastWriteTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetLastWriteTimeUtc
public static void SetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException, IndexOutOfRangeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionIndexOutOfRangeExceptionOverflowException
-
SetLastWriteTimeUtc
public static void SetLastWriteTimeUtc(java.lang.String path, DateTime lastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MissingMethodException, TargetInvocationException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedException
-
SetUnixFileMode
public static void SetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetUnixFileMode
public static void SetUnixFileMode(java.lang.String path, UnixFileMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
WriteAllBytes
public static void WriteAllBytes(java.lang.String path, byte[] bytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, MissingMethodException, TargetInvocationException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexException
-
WriteAllBytes
public static void WriteAllBytes(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, MissingMethodException, TargetInvocationException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexException
-
WriteAllLines
public static void WriteAllLines(java.lang.String path, java.lang.String[] contents, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
WriteAllLines
public static void WriteAllLines(java.lang.String dupParam0, JCORefOut dupParam1, Encoding dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
WriteAllLines
public static void WriteAllLines(java.lang.String path, java.lang.String[] contents) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedException
-
WriteAllLines
public static void WriteAllLines(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedException
-
WriteAllText
public static void WriteAllText(java.lang.String path, java.lang.String contents, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, SerializationException, IndexOutOfRangeException, NotSupportedException, MissingMethodException, TargetInvocationException, ObjectDisposedException, IOException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionArrayTypeMismatchException
-
WriteAllText
public static void WriteAllText(java.lang.String path, java.lang.String contents) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, SerializationException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, CultureNotFoundException, IOException, ObjectDisposedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSerializationExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionIOExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionArrayTypeMismatchException
-
-