Package system.io
Class Directory
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.io.Directory
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Directory extends NetObject
The base .NET class managing System.IO.Directory, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Directory
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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.IO.Directorystatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Directorycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDirectory, a cast assert is made to check if types are compatible.static DirectoryInfoCreateDirectory(java.lang.String path)static DirectoryInfoCreateDirectory(java.lang.String path, UnixFileMode unixCreateMode)static FileSystemInfoCreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget)static DirectoryInfoCreateTempSubdirectory(java.lang.String prefix)static voidDelete(java.lang.String path)static voidDelete(java.lang.String path, boolean recursive)static booleanExists(java.lang.String path)static DateTimeGetCreationTime(java.lang.String path)static DateTimeGetCreationTimeUtc(java.lang.String path)static java.lang.StringGetCurrentDirectory()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.StringGetDirectoryRoot(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.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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typestatic DateTimeGetLastAccessTime(java.lang.String path)static DateTimeGetLastAccessTimeUtc(java.lang.String path)static DateTimeGetLastWriteTime(java.lang.String path)static DateTimeGetLastWriteTimeUtc(java.lang.String path)static java.lang.String[]GetLogicalDrives()static DirectoryInfoGetParent(java.lang.String path)static voidMove(java.lang.String sourceDirName, java.lang.String destDirName)static FileSystemInfoResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget)static voidSetCreationTime(java.lang.String path, DateTime creationTime)static voidSetCreationTimeUtc(java.lang.String path, DateTime creationTimeUtc)static voidSetCurrentDirectory(java.lang.String path)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)static voidSetLastAccessTime(java.lang.String path, DateTime lastAccessTime)static voidSetLastAccessTimeUtc(java.lang.String path, DateTime lastAccessTimeUtc)static voidSetLastWriteTime(java.lang.String path, DateTime lastWriteTime)static voidSetLastWriteTimeUtc(java.lang.String path, DateTime lastWriteTimeUtc)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.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.Directory- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.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 Directory cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDirectory, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Directoryinstance- 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
-
GetCreationTime
public static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetCreationTimeUtc
public static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastAccessTime
public static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastAccessTimeUtc
public static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastWriteTime
public static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastWriteTimeUtc
public static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
CreateDirectory
public static DirectoryInfo CreateDirectory(java.lang.String path, UnixFileMode unixCreateMode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
-
CreateDirectory
public static DirectoryInfo CreateDirectory(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
CreateTempSubdirectory
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
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionUnreachableExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOException
-
GetParent
public static DirectoryInfo GetParent(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException
-
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
-
GetCurrentDirectory
public static java.lang.String GetCurrentDirectory() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, NullReferenceException, ExternalException, ArgumentNullException, CultureNotFoundException
-
GetDirectoryRoot
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- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundException
-
GetDirectories
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
-
GetDirectories
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
-
GetDirectories
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
-
GetDirectories
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
-
GetFiles
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
-
GetFiles
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
-
GetFiles
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
-
GetFiles
public static java.lang.String[] GetFiles(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException, InvalidCastException
-
GetFileSystemEntries
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
-
GetFileSystemEntries
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
-
GetFileSystemEntries
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
-
GetFileSystemEntries
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
-
GetLogicalDrives
public static java.lang.String[] GetLogicalDrives() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException
-
Delete
public 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- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOExceptionMissingMethodExceptionTargetInvocationException
-
Delete
public 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- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionIOExceptionMissingMethodExceptionTargetInvocationException
-
Move
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
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
SetCurrentDirectory
public static void SetCurrentDirectory(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, NullReferenceException, ExternalException, CultureNotFoundException
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
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, OverflowException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionInvalidTimeZoneExceptionOverflowExceptionMissingMethodExceptionTargetInvocationException
-
-