Package microsoft.visualbasic.fileio
Class FileSystem
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.fileio.FileSystem
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class FileSystem extends NetObject
The base .NET class managing Microsoft.VisualBasic.FileIO.FileSystem, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.VisualBasicstatic java.lang.String
className
Qualified class name: Microsoft.VisualBasic.FileIO.FileSystemstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FileSystem()
FileSystem(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileSystem
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoFileSystem
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typestatic 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 file, java.lang.String... delimiters)
static TextFieldParser
OpenTextFieldParser(java.lang.String dupParam0, JCORefOut dupParam1)
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(org.mases.jcobridge.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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.FileIO.FileSystem- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static FileSystem cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoFileSystem
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
FileSystem
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
DirectoryExists
public static boolean DirectoryExists(java.lang.String directory) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
ArgumentOutOfRangeException
-
FileExists
public static boolean FileExists(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ReadAllBytes
public static byte[] ReadAllBytes(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, EndOfStreamException
-
OpenTextFieldParser
public static TextFieldParser OpenTextFieldParser(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NullReferenceException
ObjectDisposedException
RankException
NotSupportedException
SecurityException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
OpenTextFieldParser
public static TextFieldParser OpenTextFieldParser(java.lang.String file, int... fieldWidths) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NullReferenceException
ObjectDisposedException
RankException
NotSupportedException
SecurityException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
InvalidEnumArgumentException
-
OpenTextFieldParser
public static TextFieldParser OpenTextFieldParser(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NullReferenceException
ObjectDisposedException
RankException
NotSupportedException
SecurityException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
InvalidEnumArgumentException
-
OpenTextFieldParser
public static TextFieldParser OpenTextFieldParser(java.lang.String file, java.lang.String... delimiters) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NullReferenceException
ObjectDisposedException
RankException
NotSupportedException
SecurityException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
InvalidEnumArgumentException
-
GetDirectoryInfo
public static DirectoryInfo GetDirectoryInfo(java.lang.String directory) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException
-
GetDriveInfo
public static DriveInfo GetDriveInfo(java.lang.String drive) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, PathTooLongException, OutOfMemoryException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentNullException
IndexOutOfRangeException
ArgumentException
ArgumentOutOfRangeException
PathTooLongException
OutOfMemoryException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
-
GetFileInfo
public static FileInfo GetFileInfo(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
-
OpenTextFileReader
public static StreamReader OpenTextFileReader(java.lang.String file) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, SecurityException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
SecurityException
IOException
-
OpenTextFileReader
public static StreamReader OpenTextFileReader(java.lang.String file, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
-
OpenTextFileWriter
public static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, SecurityException, IOException, FormatException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
SecurityException
IOException
FormatException
-
OpenTextFileWriter
public static StreamWriter OpenTextFileWriter(java.lang.String file, boolean append, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
-
CombinePath
public static java.lang.String CombinePath(java.lang.String baseDirectory, java.lang.String relativePath) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
-
GetName
public static java.lang.String GetName(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
-
GetParentPath
public static java.lang.String GetParentPath(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
GetTempFileName
public static java.lang.String GetTempFileName() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
ReadAllText
public static java.lang.String ReadAllText(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
OutOfMemoryException
-
ReadAllText
public static java.lang.String ReadAllText(java.lang.String file, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
OutOfMemoryException
-
CopyDirectory
public static void CopyDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
CopyDirectory
public static void CopyDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
CopyDirectory
public static void CopyDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, UIOption showUI) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
CopyDirectory
public static void CopyDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
CopyFile
public static void CopyFile(java.lang.String sourceFileName, java.lang.String destinationFileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
CopyFile
public static void CopyFile(java.lang.String sourceFileName, java.lang.String destinationFileName, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
CopyFile
public static void CopyFile(java.lang.String sourceFileName, java.lang.String destinationFileName, UIOption showUI) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
CopyFile
public static void CopyFile(java.lang.String sourceFileName, java.lang.String destinationFileName, UIOption showUI, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
CreateDirectory
public static void CreateDirectory(java.lang.String directory) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
DeleteDirectory
public static void DeleteDirectory(java.lang.String directory, DeleteDirectoryOption onDirectoryNotEmpty) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, DirectoryNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, FileNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
PathTooLongException
IndexOutOfRangeException
NotSupportedException
DirectoryNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
FileNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
DeleteDirectory
public static void DeleteDirectory(java.lang.String directory, UIOption showUI, RecycleOption recycle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, NotSupportedException, DirectoryNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, FileNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
NotSupportedException
DirectoryNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
FileNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
DeleteDirectory
public static void DeleteDirectory(java.lang.String directory, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, NotSupportedException, DirectoryNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, FileNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
NotSupportedException
DirectoryNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
FileNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
DeleteFile
public static void DeleteFile(java.lang.String file) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
IOException
-
DeleteFile
public static void DeleteFile(java.lang.String file, UIOption showUI, RecycleOption recycle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
IOException
-
DeleteFile
public static void DeleteFile(java.lang.String file, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
IOException
-
MoveDirectory
public static void MoveDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
MoveDirectory
public static void MoveDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
MoveDirectory
public static void MoveDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, UIOption showUI) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
MoveDirectory
public static void MoveDirectory(java.lang.String sourceDirectoryName, java.lang.String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, Win32Exception, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
NullReferenceException
PlatformNotSupportedException
Win32Exception
SecurityException
-
MoveFile
public static void MoveFile(java.lang.String sourceFileName, java.lang.String destinationFileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
MoveFile
public static void MoveFile(java.lang.String sourceFileName, java.lang.String destinationFileName, boolean overwrite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
MoveFile
public static void MoveFile(java.lang.String sourceFileName, java.lang.String destinationFileName, UIOption showUI) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
MoveFile
public static void MoveFile(java.lang.String sourceFileName, java.lang.String destinationFileName, UIOption showUI, UICancelOption onUserCancel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
NotSupportedException
PathTooLongException
FileNotFoundException
IOException
PlatformNotSupportedException
Win32Exception
SecurityException
OperationCanceledException
DirectoryNotFoundException
UnauthorizedAccessException
DriveNotFoundException
-
RenameDirectory
public static void RenameDirectory(java.lang.String directory, java.lang.String newName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
RenameFile
public static void RenameFile(java.lang.String file, java.lang.String newName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
-
WriteAllBytes
public static void WriteAllBytes(java.lang.String file, byte[] data, boolean append) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException, WaitHandleCannotBeOpenedException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
WaitHandleCannotBeOpenedException
SynchronizationLockException
EndOfStreamException
ThreadAbortException
TaskSchedulerException
TaskCanceledException
AggregateException
SemaphoreFullException
-
WriteAllBytes
public static void WriteAllBytes(java.lang.String dupParam0, JCORefOut dupParam1, boolean dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException, WaitHandleCannotBeOpenedException, SynchronizationLockException, EndOfStreamException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
WaitHandleCannotBeOpenedException
SynchronizationLockException
EndOfStreamException
ThreadAbortException
TaskSchedulerException
TaskCanceledException
AggregateException
SemaphoreFullException
-
WriteAllText
public static void WriteAllText(java.lang.String file, java.lang.String text, boolean append) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
-
WriteAllText
public static void WriteAllText(java.lang.String file, java.lang.String text, boolean append, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, NullReferenceException, SecurityException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
NullReferenceException
SecurityException
IOException
-
getCurrentDirectory
public static java.lang.String getCurrentDirectory() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, FormatException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
IndexOutOfRangeException
MissingManifestResourceException
InvalidOperationException
FormatException
NullReferenceException
-
setCurrentDirectory
public static void setCurrentDirectory(java.lang.String CurrentDirectory) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FormatException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException
-
-