public class FileSystem extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/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=14.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() |
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) |
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName) |
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite) |
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI) |
static void |
CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel) |
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName) |
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite) |
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI) |
static void |
CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel) |
static void |
CreateDirectory(java.lang.String directory) |
static void |
DeleteDirectory(java.lang.String directory,
DeleteDirectoryOption onDirectoryNotEmpty) |
static void |
DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle) |
static void |
DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel) |
static void |
DeleteFile(java.lang.String file) |
static void |
DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle) |
static void |
DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel) |
static boolean |
DirectoryExists(java.lang.String directory) |
static boolean |
FileExists(java.lang.String file) |
static java.lang.String |
getCurrentDirectory() |
static DirectoryInfo |
GetDirectoryInfo(java.lang.String directory) |
static DriveInfo |
GetDriveInfo(java.lang.String drive) |
static FileInfo |
GetFileInfo(java.lang.String file) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static java.lang.String |
GetName(java.lang.String path) |
static java.lang.String |
GetParentPath(java.lang.String path) |
static java.lang.String |
GetTempFileName() |
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName) |
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite) |
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI) |
static void |
MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI,
UICancelOption onUserCancel) |
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName) |
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite) |
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI) |
static void |
MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI,
UICancelOption onUserCancel) |
static TextFieldParser |
OpenTextFieldParser(java.lang.String file) |
static TextFieldParser |
OpenTextFieldParser(java.lang.String file,
int... fieldWidths) |
static TextFieldParser |
OpenTextFieldParser(java.lang.String dupParam0,
JCORefOut dupParam1) |
static TextFieldParser |
OpenTextFieldParser(java.lang.String file,
java.lang.String... delimiters) |
static StreamReader |
OpenTextFileReader(java.lang.String file) |
static StreamReader |
OpenTextFileReader(java.lang.String file,
Encoding encoding) |
static StreamWriter |
OpenTextFileWriter(java.lang.String file,
boolean append) |
static StreamWriter |
OpenTextFileWriter(java.lang.String file,
boolean append,
Encoding encoding) |
static byte[] |
ReadAllBytes(java.lang.String file) |
static java.lang.String |
ReadAllText(java.lang.String file) |
static java.lang.String |
ReadAllText(java.lang.String file,
Encoding encoding) |
static void |
RenameDirectory(java.lang.String directory,
java.lang.String newName) |
static void |
RenameFile(java.lang.String file,
java.lang.String newName) |
static void |
setCurrentDirectory(java.lang.String CurrentDirectory) |
void |
setJCOInstance(JCObject instance) |
static void |
WriteAllBytes(java.lang.String file,
byte[] data,
boolean append) |
static void |
WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1,
boolean dupParam2) |
static void |
WriteAllText(java.lang.String file,
java.lang.String text,
boolean append) |
static void |
WriteAllText(java.lang.String file,
java.lang.String text,
boolean append,
Encoding encoding) |
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.Throwablepublic FileSystem(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic 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,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
ObjectDisposedException
java.lang.ThrowableCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionObjectDisposedExceptionpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void CopyDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic 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,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void CopyFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic 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,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void CreateDirectory(java.lang.String directory)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FormatException,
IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionIOExceptionpublic static void DeleteDirectory(java.lang.String directory,
DeleteDirectoryOption onDirectoryNotEmpty)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
ObjectDisposedException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionObjectDisposedExceptionpublic static void DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void DeleteDirectory(java.lang.String directory,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void DeleteFile(java.lang.String file)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionIOExceptionpublic static void DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionIOExceptionpublic static void DeleteFile(java.lang.String file,
UIOption showUI,
RecycleOption recycle,
UICancelOption onUserCancel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionIOExceptionpublic static boolean DirectoryExists(java.lang.String directory)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException
public static boolean FileExists(java.lang.String file)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic static java.lang.String getCurrentDirectory()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
CultureNotFoundException,
ArgumentNullException
public static DirectoryInfo GetDirectoryInfo(java.lang.String directory) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException
public static DriveInfo GetDriveInfo(java.lang.String drive) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, NullReferenceException, ExternalException, CultureNotFoundException
public static FileInfo GetFileInfo(java.lang.String file) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static java.lang.String GetName(java.lang.String path)
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionpublic static java.lang.String GetParentPath(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
FormatException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionFormatExceptionpublic static java.lang.String GetTempFileName()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException,
CultureNotFoundException,
FormatException,
SerializationException,
MissingMethodException,
TargetInvocationException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionFormatExceptionSerializationExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
CultureNotFoundException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void MoveDirectory(java.lang.String sourceDirectoryName,
java.lang.String destinationDirectoryName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic 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,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException,
DirectoryNotFoundException,
IOException,
OperationCanceledException,
FileNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchExceptionDirectoryNotFoundExceptionIOExceptionOperationCanceledExceptionFileNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionpublic static void MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
boolean overwrite)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static void MoveFile(java.lang.String sourceFileName,
java.lang.String destinationFileName,
UIOption showUI)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic 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,
NotSupportedException,
FormatException,
InvalidEnumArgumentException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
FileNotFoundException,
IOException,
OperationCanceledException,
DirectoryNotFoundException,
UnauthorizedAccessException,
PathTooLongException,
DriveNotFoundException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionFileNotFoundExceptionIOExceptionOperationCanceledExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionDriveNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionpublic static TextFieldParser OpenTextFieldParser(java.lang.String file) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RegexParseException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionRegexParseExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionFileNotFoundExceptionSerializationExceptionpublic static TextFieldParser OpenTextFieldParser(java.lang.String file, int... fieldWidths) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RegexParseException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionRegexParseExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionFileNotFoundExceptionSerializationExceptionInvalidEnumArgumentExceptionpublic static TextFieldParser OpenTextFieldParser(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RegexParseException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionRegexParseExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionFileNotFoundExceptionSerializationExceptionInvalidEnumArgumentExceptionpublic static TextFieldParser OpenTextFieldParser(java.lang.String file, java.lang.String... delimiters) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RegexParseException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, FileNotFoundException, SerializationException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionRegexParseExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionFileNotFoundExceptionSerializationExceptionInvalidEnumArgumentExceptionpublic static StreamReader OpenTextFileReader(java.lang.String file) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic static StreamReader OpenTextFileReader(java.lang.String file, Encoding encoding) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionpublic static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append, Encoding encoding) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionpublic static byte[] ReadAllBytes(java.lang.String file)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
SerializationException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
ArrayTypeMismatchException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionArrayTypeMismatchExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionpublic static java.lang.String ReadAllText(java.lang.String file)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
public static java.lang.String ReadAllText(java.lang.String file,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
ArrayTypeMismatchException,
OutOfMemoryException
public static void RenameDirectory(java.lang.String directory,
java.lang.String newName)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
FormatException,
IOException,
MissingMethodException,
TargetInvocationException,
DirectoryNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionFormatExceptionIOExceptionMissingMethodExceptionTargetInvocationExceptionDirectoryNotFoundExceptionpublic static void RenameFile(java.lang.String file,
java.lang.String newName)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
FileNotFoundException,
IOException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionFileNotFoundExceptionIOExceptionpublic static void setCurrentDirectory(java.lang.String CurrentDirectory)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
CultureNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void WriteAllBytes(java.lang.String file,
byte[] data,
boolean append)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
SerializationException
java.lang.ThrowableCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionSerializationExceptionpublic static void WriteAllBytes(java.lang.String dupParam0,
JCORefOut dupParam1,
boolean dupParam2)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
SerializationException
java.lang.ThrowableCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionSerializationExceptionpublic static void WriteAllText(java.lang.String file,
java.lang.String text,
boolean append)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
MissingMethodException,
TargetInvocationException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionArrayTypeMismatchExceptionpublic static void WriteAllText(java.lang.String file,
java.lang.String text,
boolean append,
Encoding encoding)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
MissingMethodException,
TargetInvocationException,
ArrayTypeMismatchException
java.lang.ThrowableCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionArrayTypeMismatchException