public class Directory extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Directory
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.Directory
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Directory() |
Directory(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Directory |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Directory, a cast assert is made to check if types are compatible. |
static DirectoryInfo |
CreateDirectory(java.lang.String path) |
static DirectoryInfo |
CreateDirectory(java.lang.String path,
UnixFileMode unixCreateMode) |
static FileSystemInfo |
CreateSymbolicLink(java.lang.String path,
java.lang.String pathToTarget) |
static DirectoryInfo |
CreateTempSubdirectory(java.lang.String prefix) |
static void |
Delete(java.lang.String path) |
static void |
Delete(java.lang.String path,
boolean recursive) |
static boolean |
Exists(java.lang.String path) |
static DateTime |
GetCreationTime(java.lang.String path) |
static DateTime |
GetCreationTimeUtc(java.lang.String path) |
static java.lang.String |
GetCurrentDirectory() |
static java.lang.String[] |
GetDirectories(java.lang.String path) |
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern) |
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions) |
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption) |
static java.lang.String |
GetDirectoryRoot(java.lang.String path) |
static java.lang.String[] |
GetFiles(java.lang.String path) |
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern) |
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions) |
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption) |
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path) |
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern) |
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions) |
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static DateTime |
GetLastAccessTime(java.lang.String path) |
static DateTime |
GetLastAccessTimeUtc(java.lang.String path) |
static DateTime |
GetLastWriteTime(java.lang.String path) |
static DateTime |
GetLastWriteTimeUtc(java.lang.String path) |
static java.lang.String[] |
GetLogicalDrives() |
static DirectoryInfo |
GetParent(java.lang.String path) |
static void |
Move(java.lang.String sourceDirName,
java.lang.String destDirName) |
static FileSystemInfo |
ResolveLinkTarget(java.lang.String linkPath,
boolean returnFinalTarget) |
static void |
SetCreationTime(java.lang.String path,
DateTime creationTime) |
static void |
SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc) |
static void |
SetCurrentDirectory(java.lang.String path) |
void |
setJCOInstance(JCObject instance) |
static void |
SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime) |
static void |
SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc) |
static void |
SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime) |
static void |
SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Directory()
throws java.lang.Throwable
java.lang.Throwablepublic Directory(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Directory cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Directory, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDirectory instancejava.lang.Throwable - in case of error during cast operationpublic static DirectoryInfo CreateDirectory(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DirectoryInfo CreateDirectory(java.lang.String path, UnixFileMode unixCreateMode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public static FileSystemInfo CreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
public static DirectoryInfo CreateTempSubdirectory(java.lang.String prefix) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, UnreachableException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException, IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionUnreachableExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOExceptionpublic static void Delete(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
IOException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void Delete(java.lang.String path,
boolean recursive)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
IOException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOExceptionMissingMethodExceptionTargetInvocationExceptionpublic static boolean Exists(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static java.lang.String GetCurrentDirectory()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
PlatformNotSupportedException,
NullReferenceException,
ExternalException,
ArgumentNullException,
CultureNotFoundException
public static java.lang.String[] GetDirectories(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetDirectories(java.lang.String path,
java.lang.String searchPattern)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetDirectories(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException
public static java.lang.String[] GetDirectories(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException
public static java.lang.String GetDirectoryRoot(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic static java.lang.String[] GetFiles(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetFiles(java.lang.String path,
java.lang.String searchPattern)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetFiles(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException
public static java.lang.String[] GetFiles(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException
public static java.lang.String[] GetFileSystemEntries(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
public static java.lang.String[] GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException
public static java.lang.String[] GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
public static java.lang.String[] GetLogicalDrives()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
PlatformNotSupportedException
public static DirectoryInfo GetParent(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException
public static void Move(java.lang.String sourceDirName,
java.lang.String destDirName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
IOException
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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionInvalidOperationExceptionArrayTypeMismatchExceptionpublic static void SetCreationTime(java.lang.String path,
DateTime creationTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetCurrentDirectory(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
NullReferenceException,
ExternalException,
CultureNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
OverflowException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException