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=8.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.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.IO.Directorystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Directory
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDirectory
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic 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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.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
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Directory cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDirectory
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Directory
instance- 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, ExternalException, CultureNotFoundException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
GetCreationTime
public static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetCreationTimeUtc
public static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastAccessTime
public static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastAccessTimeUtc
public static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastWriteTime
public static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
GetLastWriteTimeUtc
public static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
-
CreateDirectory
public static DirectoryInfo CreateDirectory(java.lang.String path, UnixFileMode unixCreateMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
CreateDirectory
public static DirectoryInfo CreateDirectory(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ExternalException
CultureNotFoundException
MissingMethodException
TargetInvocationException
-
CreateTempSubdirectory
public static DirectoryInfo CreateTempSubdirectory(java.lang.String prefix) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, CultureNotFoundException, IOException
-
GetParent
public static DirectoryInfo GetParent(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, 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, ExternalException, CultureNotFoundException
-
ResolveLinkTarget
public static FileSystemInfo ResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
IndexOutOfRangeException
CultureNotFoundException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
ArrayTypeMismatchException
-
GetCurrentDirectory
public static java.lang.String GetCurrentDirectory() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, FormatException, OutOfMemoryException, ExternalException, 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, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, 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
-
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
-
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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, 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
-
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
-
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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, 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
-
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
-
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, ExternalException, CultureNotFoundException, IOException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
IOException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
Delete
public static void Delete(java.lang.String path) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, IOException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
IOException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
Move
public static void Move(java.lang.String sourceDirName, java.lang.String destDirName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, 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, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
SetCreationTimeUtc
public static void SetCreationTimeUtc(java.lang.String path, DateTime creationTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
SetCurrentDirectory
public static void SetCurrentDirectory(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, 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, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
SetLastAccessTimeUtc
public static void SetLastAccessTimeUtc(java.lang.String path, DateTime lastAccessTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
SetLastWriteTime
public static void SetLastWriteTime(java.lang.String path, DateTime lastWriteTime) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
SetLastWriteTimeUtc
public static void SetLastWriteTimeUtc(java.lang.String path, DateTime lastWriteTimeUtc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, OverflowException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
ExternalException
CultureNotFoundException
InvalidTimeZoneException
SecurityException
UnauthorizedAccessException
IOException
OverflowException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
-
-