public class FileSystem extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.VisualBasic.FileIO.FileSystem
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: Microsoft.VisualBasic.Core, Version=13.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Core
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.FileIO.FileSystem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileSystem()
Initializes a new instance by invoking the .NET constructor.
|
FileSystem(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FileSystem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileSystem, a cast assert is made to check if types are compatible. |
static java.lang.String |
CombinePath(java.lang.String baseDirectory,
java.lang.String relativePath)
Invokes the .NET member CombinePath.
|
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
Invokes the .NET member CopyDirectory.
|
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
Invokes the .NET member CopyDirectory.
|
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
Invokes the .NET member CopyDirectory.
|
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel)
Invokes the .NET member CopyDirectory.
|
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
Invokes the .NET member CopyFile.
|
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
Invokes the .NET member CopyFile.
|
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
Invokes the .NET member CopyFile.
|
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel)
Invokes the .NET member CopyFile.
|
static void |
CreateDirectory(java.lang.String directory)
Invokes the .NET member CreateDirectory.
|
static void |
DeleteDirectory(java.lang.String directory,
DeleteDirectoryOption onDirectoryNotEmpty)
Invokes the .NET member DeleteDirectory.
|
static void |
DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle)
Invokes the .NET member DeleteDirectory.
|
static void |
DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
Invokes the .NET member DeleteDirectory.
|
static void |
DeleteFile(java.lang.String file)
Invokes the .NET member DeleteFile.
|
static void |
DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle)
Invokes the .NET member DeleteFile.
|
static void |
DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
Invokes the .NET member DeleteFile.
|
static boolean |
DirectoryExists(java.lang.String directory)
Invokes the .NET member DirectoryExists.
|
static boolean |
FileExists(java.lang.String file)
Invokes the .NET member FileExists.
|
static ReadOnlyCollection_1 |
FindInFiles(java.lang.String directory,
java.lang.String containsText,
boolean ignoreCase,
SearchOption searchType)
Invokes the .NET member FindInFiles.
|
static ReadOnlyCollection_1 |
FindInFiles(java.lang.String dupParam0,
java.lang.String dupParam1,
boolean dupParam2,
SearchOption dupParam3,
JCORefOut dupParam4)
Invokes the .NET member FindInFiles.
|
static ReadOnlyCollection_1 |
FindInFiles(java.lang.String directory,
java.lang.String containsText,
boolean ignoreCase,
SearchOption searchType,
java.lang.String... fileWildcards)
Invokes the .NET member FindInFiles.
|
static java.lang.String |
getCurrentDirectory()
Gets the value of the .NET property CurrentDirectory.
|
static ReadOnlyCollection_1 |
GetDirectories(java.lang.String directory)
Invokes the .NET member GetDirectories.
|
static ReadOnlyCollection_1 |
GetDirectories(java.lang.String dupParam0,
SearchOption dupParam1,
JCORefOut dupParam2)
Invokes the .NET member GetDirectories.
|
static ReadOnlyCollection_1 |
GetDirectories(java.lang.String directory,
SearchOption searchType,
java.lang.String... wildcards)
Invokes the .NET member GetDirectories.
|
static DirectoryInfo |
GetDirectoryInfo(java.lang.String directory)
Invokes the .NET member GetDirectoryInfo.
|
static DriveInfo |
GetDriveInfo(java.lang.String drive)
Invokes the .NET member GetDriveInfo.
|
static ReadOnlyCollection_1 |
getDrives()
Gets the value of the .NET property Drives.
|
static FileInfo |
GetFileInfo(java.lang.String file)
Invokes the .NET member GetFileInfo.
|
static ReadOnlyCollection_1 |
GetFiles(java.lang.String directory)
Invokes the .NET member GetFiles.
|
static ReadOnlyCollection_1 |
GetFiles(java.lang.String dupParam0,
SearchOption dupParam1,
JCORefOut dupParam2)
Invokes the .NET member GetFiles.
|
static ReadOnlyCollection_1 |
GetFiles(java.lang.String directory,
SearchOption searchType,
java.lang.String... wildcards)
Invokes the .NET member GetFiles.
|
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 java.lang.String |
GetName(java.lang.String path)
Invokes the .NET member GetName.
|
static java.lang.String |
GetParentPath(java.lang.String path)
Invokes the .NET member GetParentPath.
|
static java.lang.String |
GetTempFileName()
Invokes the .NET member GetTempFileName.
|
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
Invokes the .NET member MoveDirectory.
|
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
Invokes the .NET member MoveDirectory.
|
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
Invokes the .NET member MoveDirectory.
|
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel)
Invokes the .NET member MoveDirectory.
|
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
Invokes the .NET member MoveFile.
|
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
Invokes the .NET member MoveFile.
|
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
Invokes the .NET member MoveFile.
|
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel)
Invokes the .NET member MoveFile.
|
static TextFieldParser |
OpenTextFieldParser(java.lang.String file)
Invokes the .NET member OpenTextFieldParser.
|
static TextFieldParser |
OpenTextFieldParser(java.lang.String file,
int... fieldWidths)
Invokes the .NET member OpenTextFieldParser.
|
static TextFieldParser |
OpenTextFieldParser(java.lang.String dupParam0,
JCORefOut dupParam1)
Invokes the .NET member OpenTextFieldParser.
|
static TextFieldParser |
OpenTextFieldParser(java.lang.String file,
java.lang.String... delimiters)
Invokes the .NET member OpenTextFieldParser.
|
static StreamReader |
OpenTextFileReader(java.lang.String file)
Invokes the .NET member OpenTextFileReader.
|
static StreamReader |
OpenTextFileReader(java.lang.String file,
Encoding encoding)
Invokes the .NET member OpenTextFileReader.
|
static StreamWriter |
OpenTextFileWriter(java.lang.String file,
boolean append)
Invokes the .NET member OpenTextFileWriter.
|
static StreamWriter |
OpenTextFileWriter(java.lang.String file,
boolean append,
Encoding encoding)
Invokes the .NET member OpenTextFileWriter.
|
static byte[] |
ReadAllBytes(java.lang.String file)
Invokes the .NET member ReadAllBytes.
|
static java.lang.String |
ReadAllText(java.lang.String file)
Invokes the .NET member ReadAllText.
|
static java.lang.String |
ReadAllText(java.lang.String file,
Encoding encoding)
Invokes the .NET member ReadAllText.
|
static void |
RenameDirectory(java.lang.String directory,
java.lang.String newName)
Invokes the .NET member RenameDirectory.
|
static void |
RenameFile(java.lang.String file,
java.lang.String newName)
Invokes the .NET member RenameFile.
|
static void |
setCurrentDirectory(java.lang.String CurrentDirectory)
Sets the value of the .NET property CurrentDirectory.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
WriteAllBytes(java.lang.String file,
byte[] data,
boolean append)
Invokes the .NET member WriteAllBytes.
|
static void |
WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1,
boolean dupParam2)
Invokes the .NET member WriteAllBytes.
|
static void |
WriteAllText(java.lang.String file,
java.lang.String text,
boolean append)
Invokes the .NET member WriteAllText.
|
static void |
WriteAllText(java.lang.String file,
java.lang.String text,
boolean append,
Encoding encoding)
Invokes the .NET member WriteAllText.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileSystem()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic FileSystem(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 FileSystem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileSystem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileSystem instancejava.lang.Throwable - in case of error during cast operationpublic static java.lang.String CombinePath(java.lang.String baseDirectory,
java.lang.String relativePath)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException
baseDirectory - the argument of type java.lang.StringrelativePath - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - 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 itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.StringshowUI - the argument of type UIOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.StringshowUI - the argument of type UIOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - 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 itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringshowUI - the argument of type UIOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringshowUI - the argument of type UIOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 CreateDirectory(java.lang.String directory)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
FormatException,
IOException
directory - 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 itFormatException - if the .NET member raises itIOException - if the .NET member raises itpublic static void DeleteDirectory(java.lang.String directory,
DeleteDirectoryOption onDirectoryNotEmpty)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
ObjectDisposedException
directory - the argument of type java.lang.StringonDirectoryNotEmpty - the argument of type DeleteDirectoryOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static void DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
directory - the argument of type java.lang.StringshowUI - the argument of type UIOptionrecycle - the argument of type RecycleOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
directory - the argument of type java.lang.StringshowUI - the argument of type UIOptionrecycle - the argument of type RecycleOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void DeleteFile(java.lang.String file)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
file - 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 itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic static void DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
file - the argument of type java.lang.StringshowUI - the argument of type UIOptionrecycle - the argument of type RecycleOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic static void DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
file - the argument of type java.lang.StringshowUI - the argument of type UIOptionrecycle - the argument of type RecycleOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic static boolean DirectoryExists(java.lang.String directory)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException
directory - 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 boolean FileExists(java.lang.String file)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
file - 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 itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - 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 ReadOnlyCollection_1 FindInFiles(java.lang.String directory, java.lang.String containsText, boolean ignoreCase, SearchOption searchType) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, InvalidEnumArgumentException, IndexOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, SerializationException, ObjectDisposedException, InvalidCastException, ArrayTypeMismatchException
directory - the argument of type java.lang.StringcontainsText - the argument of type java.lang.StringignoreCase - the argument of type booleansearchType - the argument of type SearchOptionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static ReadOnlyCollection_1 FindInFiles(java.lang.String dupParam0, java.lang.String dupParam1, boolean dupParam2, SearchOption dupParam3, JCORefOut dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, SerializationException, ObjectDisposedException, ArrayTypeMismatchException, InvalidCastException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type java.lang.StringdupParam2 - the argument of type booleandupParam3 - the argument of type SearchOptiondupParam4 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static ReadOnlyCollection_1 FindInFiles(java.lang.String directory, java.lang.String containsText, boolean ignoreCase, SearchOption searchType, java.lang.String... fileWildcards) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, SerializationException, ObjectDisposedException, ArrayTypeMismatchException, InvalidCastException
directory - the argument of type java.lang.StringcontainsText - the argument of type java.lang.StringignoreCase - the argument of type booleansearchType - the argument of type SearchOptionfileWildcards - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static java.lang.String getCurrentDirectory()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetDirectories(java.lang.String directory) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
directory - 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 itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetDirectories(java.lang.String dupParam0, SearchOption dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type SearchOptiondupParam2 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetDirectories(java.lang.String directory, SearchOption searchType, java.lang.String... wildcards) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
directory - the argument of type java.lang.StringsearchType - the argument of type SearchOptionwildcards - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static DirectoryInfo GetDirectoryInfo(java.lang.String directory) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException
directory - 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 itCultureNotFoundException - if the .NET member raises itpublic static DriveInfo GetDriveInfo(java.lang.String drive) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, ExternalException, CultureNotFoundException
drive - 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 itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static ReadOnlyCollection_1 getDrives() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, CultureNotFoundException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static FileInfo GetFileInfo(java.lang.String file) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, CultureNotFoundException, ObjectDisposedException, FormatException
file - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetFiles(java.lang.String directory) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
directory - 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 itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetFiles(java.lang.String dupParam0, SearchOption dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type SearchOptiondupParam2 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ReadOnlyCollection_1 GetFiles(java.lang.String directory, SearchOption searchType, java.lang.String... wildcards) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException
directory - the argument of type java.lang.StringsearchType - the argument of type SearchOptionwildcards - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - 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 java.lang.String GetName(java.lang.String path)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static java.lang.String GetParentPath(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
FormatException
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 itFormatException - if the .NET member raises itpublic static java.lang.String GetTempFileName()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentNullException,
CultureNotFoundException,
FormatException,
SerializationException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException
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 itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - 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 itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.StringshowUI - the argument of type UIOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
sourceDirectoryName - the argument of type java.lang.StringdestinationDirectoryName - the argument of type java.lang.StringshowUI - the argument of type UIOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itFileNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - if the .NET member raises itpublic static void MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - 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 itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.Stringoverwrite - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringshowUI - the argument of type UIOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
NotSupportedException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
sourceFileName - the argument of type java.lang.StringdestinationFileName - the argument of type java.lang.StringshowUI - the argument of type UIOptiononUserCancel - the argument of type UICancelOptionjava.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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itNotSupportedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPathTooLongException - if the .NET member raises itDriveNotFoundException - 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 TextFieldParser OpenTextFieldParser(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, RegexParseException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException
file - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static TextFieldParser OpenTextFieldParser(java.lang.String file, int... fieldWidths) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, RegexParseException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
file - the argument of type java.lang.StringfieldWidths - the argument of type int...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic static TextFieldParser OpenTextFieldParser(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, RegexParseException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic static TextFieldParser OpenTextFieldParser(java.lang.String file, java.lang.String... delimiters) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, RegexParseException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
file - the argument of type java.lang.Stringdelimiters - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRegexParseException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFileNotFoundException - if the .NET member raises itSerializationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic static StreamReader OpenTextFileReader(java.lang.String file) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentException, FormatException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
file - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static StreamReader OpenTextFileReader(java.lang.String file, Encoding encoding) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, CultureNotFoundException, ObjectDisposedException, FormatException
file - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentException, FormatException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
file - the argument of type java.lang.Stringappend - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append, Encoding encoding) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, CultureNotFoundException, ObjectDisposedException, FormatException
file - the argument of type java.lang.Stringappend - the argument of type booleanencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static byte[] ReadAllBytes(java.lang.String file)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
SerializationException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
ArrayTypeMismatchException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException
file - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static java.lang.String ReadAllText(java.lang.String file)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
file - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static java.lang.String ReadAllText(java.lang.String file,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
file - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void RenameDirectory(java.lang.String directory,
java.lang.String newName)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
FormatException,
IOException,
MissingMethodException,
TargetInvocationException,
DirectoryNotFoundException
directory - the argument of type java.lang.StringnewName - 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 itFormatException - if the .NET member raises itIOException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itpublic static void RenameFile(java.lang.String file,
java.lang.String newName)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
FileNotFoundException,
IOException
file - the argument of type java.lang.StringnewName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itFileNotFoundException - if the .NET member raises itIOException - if the .NET member raises itpublic static void setCurrentDirectory(java.lang.String CurrentDirectory)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException
CurrentDirectory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - 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 WriteAllBytes(java.lang.String file,
byte[] data,
boolean append)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ObjectDisposedException,
FormatException,
SerializationException
file - the argument of type java.lang.Stringdata - the argument of type byte[]append - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static void WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1,
boolean dupParam2)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ObjectDisposedException,
FormatException,
SerializationException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic static void WriteAllText(java.lang.String file,
java.lang.String text,
boolean append)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
MissingMethodException,
TargetInvocationException,
ArrayTypeMismatchException
file - the argument of type java.lang.Stringtext - the argument of type java.lang.Stringappend - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static void WriteAllText(java.lang.String file,
java.lang.String text,
boolean append,
Encoding encoding)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ObjectDisposedException,
FormatException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
file - the argument of type java.lang.Stringtext - the argument of type java.lang.Stringappend - the argument of type booleanencoding - the argument of type Encodingjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - 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 it