public class Directory extends NetObject
.NET documentation at https://learn.microsoft.com/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=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.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)
Invokes the .NET member CreateDirectory.
|
static DirectoryInfo |
CreateDirectory(java.lang.String path,
UnixFileMode unixCreateMode)
Invokes the .NET member CreateDirectory.
|
static FileSystemInfo |
CreateSymbolicLink(java.lang.String path,
java.lang.String pathToTarget)
Invokes the .NET member CreateSymbolicLink.
|
static DirectoryInfo |
CreateTempSubdirectory(java.lang.String prefix)
Invokes the .NET member CreateTempSubdirectory.
|
static void |
Delete(java.lang.String path)
Invokes the .NET member Delete.
|
static void |
Delete(java.lang.String path,
boolean recursive)
Invokes the .NET member Delete.
|
static IEnumerable_1 |
EnumerateDirectories(java.lang.String path)
Invokes the .NET member EnumerateDirectories.
|
static IEnumerable_1 |
EnumerateDirectories(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member EnumerateDirectories.
|
static IEnumerable_1 |
EnumerateDirectories(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member EnumerateDirectories.
|
static IEnumerable_1 |
EnumerateDirectories(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member EnumerateDirectories.
|
static IEnumerable_1 |
EnumerateFiles(java.lang.String path)
Invokes the .NET member EnumerateFiles.
|
static IEnumerable_1 |
EnumerateFiles(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member EnumerateFiles.
|
static IEnumerable_1 |
EnumerateFiles(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member EnumerateFiles.
|
static IEnumerable_1 |
EnumerateFiles(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member EnumerateFiles.
|
static IEnumerable_1 |
EnumerateFileSystemEntries(java.lang.String path)
Invokes the .NET member EnumerateFileSystemEntries.
|
static IEnumerable_1 |
EnumerateFileSystemEntries(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member EnumerateFileSystemEntries.
|
static IEnumerable_1 |
EnumerateFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member EnumerateFileSystemEntries.
|
static IEnumerable_1 |
EnumerateFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member EnumerateFileSystemEntries.
|
static boolean |
Exists(java.lang.String path)
Invokes the .NET member Exists.
|
static DateTime |
GetCreationTime(java.lang.String path)
Invokes the .NET member GetCreationTime.
|
static DateTime |
GetCreationTimeUtc(java.lang.String path)
Invokes the .NET member GetCreationTimeUtc.
|
static java.lang.String |
GetCurrentDirectory()
Invokes the .NET member GetCurrentDirectory.
|
static java.lang.String[] |
GetDirectories(java.lang.String path)
Invokes the .NET member GetDirectories.
|
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member GetDirectories.
|
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member GetDirectories.
|
static java.lang.String[] |
GetDirectories(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member GetDirectories.
|
static java.lang.String |
GetDirectoryRoot(java.lang.String path)
Invokes the .NET member GetDirectoryRoot.
|
static java.lang.String[] |
GetFiles(java.lang.String path)
Invokes the .NET member GetFiles.
|
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member GetFiles.
|
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member GetFiles.
|
static java.lang.String[] |
GetFiles(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member GetFiles.
|
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path)
Invokes the .NET member GetFileSystemEntries.
|
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern)
Invokes the .NET member GetFileSystemEntries.
|
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
EnumerationOptions enumerationOptions)
Invokes the .NET member GetFileSystemEntries.
|
static java.lang.String[] |
GetFileSystemEntries(java.lang.String path,
java.lang.String searchPattern,
SearchOption searchOption)
Invokes the .NET member GetFileSystemEntries.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static DateTime |
GetLastAccessTime(java.lang.String path)
Invokes the .NET member GetLastAccessTime.
|
static DateTime |
GetLastAccessTimeUtc(java.lang.String path)
Invokes the .NET member GetLastAccessTimeUtc.
|
static DateTime |
GetLastWriteTime(java.lang.String path)
Invokes the .NET member GetLastWriteTime.
|
static DateTime |
GetLastWriteTimeUtc(java.lang.String path)
Invokes the .NET member GetLastWriteTimeUtc.
|
static java.lang.String[] |
GetLogicalDrives()
Invokes the .NET member GetLogicalDrives.
|
static DirectoryInfo |
GetParent(java.lang.String path)
Invokes the .NET member GetParent.
|
static void |
Move(java.lang.String sourceDirName,
java.lang.String destDirName)
Invokes the .NET member Move.
|
static FileSystemInfo |
ResolveLinkTarget(java.lang.String linkPath,
boolean returnFinalTarget)
Invokes the .NET member ResolveLinkTarget.
|
static void |
SetCreationTime(java.lang.String path,
DateTime creationTime)
Invokes the .NET member SetCreationTime.
|
static void |
SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
Invokes the .NET member SetCreationTimeUtc.
|
static void |
SetCurrentDirectory(java.lang.String path)
Invokes the .NET member SetCurrentDirectory.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
Invokes the .NET member SetLastAccessTime.
|
static void |
SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
Invokes the .NET member SetLastAccessTimeUtc.
|
static void |
SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
Invokes the .NET member SetLastWriteTime.
|
static void |
SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
Invokes the .NET member SetLastWriteTimeUtc.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DirectoryInfo CreateDirectory(java.lang.String path, UnixFileMode unixCreateMode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
path - the argument of type java.lang.StringunixCreateMode - the argument of type UnixFileModejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static FileSystemInfo CreateSymbolicLink(java.lang.String path, java.lang.String pathToTarget) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException
path - the argument of type java.lang.StringpathToTarget - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static DirectoryInfo CreateTempSubdirectory(java.lang.String prefix) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, CultureNotFoundException, IOException
prefix - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic 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
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static 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
path - the argument of type java.lang.Stringrecursive - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static IEnumerable_1 EnumerateDirectories(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateDirectories(java.lang.String path, java.lang.String searchPattern) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateDirectories(java.lang.String path, java.lang.String searchPattern, EnumerationOptions enumerationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, CultureNotFoundException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static IEnumerable_1 EnumerateDirectories(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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFiles(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFiles(java.lang.String path, java.lang.String searchPattern) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFiles(java.lang.String path, java.lang.String searchPattern, EnumerationOptions enumerationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, CultureNotFoundException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFiles(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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFileSystemEntries(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFileSystemEntries(java.lang.String path, java.lang.String searchPattern) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFileSystemEntries(java.lang.String path, java.lang.String searchPattern, EnumerationOptions enumerationOptions) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, CultureNotFoundException
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static IEnumerable_1 EnumerateFileSystemEntries(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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean Exists(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetCreationTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetCreationTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static java.lang.String GetCurrentDirectory()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static java.lang.String[] GetDirectories(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic 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
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static java.lang.String[] GetFiles(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String[] GetFileSystemEntries(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException,
RankException,
ArrayTypeMismatchException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringenumerationOptions - the argument of type EnumerationOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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
path - the argument of type java.lang.StringsearchPattern - the argument of type java.lang.StringsearchOption - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static DateTime GetLastAccessTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastAccessTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastWriteTime(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static DateTime GetLastWriteTimeUtc(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingMethodException, TargetInvocationException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static java.lang.String[] GetLogicalDrives()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DirectoryInfo GetParent(java.lang.String path) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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
sourceDirName - the argument of type java.lang.StringdestDirName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic static FileSystemInfo ResolveLinkTarget(java.lang.String linkPath, boolean returnFinalTarget) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, ArrayTypeMismatchException
linkPath - the argument of type java.lang.StringreturnFinalTarget - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static void SetCreationTime(java.lang.String path,
DateTime creationTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringcreationTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetCreationTimeUtc(java.lang.String path,
DateTime creationTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringcreationTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetCurrentDirectory(java.lang.String path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void SetLastAccessTime(java.lang.String path,
DateTime lastAccessTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastAccessTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastAccessTimeUtc(java.lang.String path,
DateTime lastAccessTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastAccessTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastWriteTime(java.lang.String path,
DateTime lastWriteTime)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastWriteTime - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void SetLastWriteTimeUtc(java.lang.String path,
DateTime lastWriteTimeUtc)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
OverflowException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException
path - the argument of type java.lang.StringlastWriteTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises it