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.See: https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.FileIO.FileSystem
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: Microsoft.VisualBasicstatic String
className
Qualified class name: Microsoft.VisualBasic.FileIO.FileSystemstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FileSystem()
FileSystem(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 String
CombinePath(String baseDirectory, String relativePath)
static void
CopyDirectory(String sourceDirectoryName, String destinationDirectoryName)
static void
CopyDirectory(String sourceDirectoryName, String destinationDirectoryName, boolean overwrite)
static void
CopyDirectory(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI)
static void
CopyDirectory(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel)
static void
CopyFile(String sourceFileName, String destinationFileName)
static void
CopyFile(String sourceFileName, String destinationFileName, boolean overwrite)
static void
CopyFile(String sourceFileName, String destinationFileName, UIOption showUI)
static void
CopyFile(String sourceFileName, String destinationFileName, UIOption showUI, UICancelOption onUserCancel)
static void
CreateDirectory(String directory)
static void
DeleteDirectory(String directory, DeleteDirectoryOption onDirectoryNotEmpty)
static void
DeleteDirectory(String directory, UIOption showUI, RecycleOption recycle)
static void
DeleteDirectory(String directory, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel)
static void
DeleteFile(String file)
static void
DeleteFile(String file, UIOption showUI, RecycleOption recycle)
static void
DeleteFile(String file, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel)
static boolean
DirectoryExists(String directory)
static boolean
FileExists(String file)
static String
getCurrentDirectory()
static DirectoryInfo
GetDirectoryInfo(String directory)
static DriveInfo
GetDriveInfo(String drive)
static FileInfo
GetFileInfo(String file)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic String
GetName(String path)
static String
GetParentPath(String path)
static String
GetTempFileName()
static void
MoveDirectory(String sourceDirectoryName, String destinationDirectoryName)
static void
MoveDirectory(String sourceDirectoryName, String destinationDirectoryName, boolean overwrite)
static void
MoveDirectory(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI)
static void
MoveDirectory(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel)
static void
MoveFile(String sourceFileName, String destinationFileName)
static void
MoveFile(String sourceFileName, String destinationFileName, boolean overwrite)
static void
MoveFile(String sourceFileName, String destinationFileName, UIOption showUI)
static void
MoveFile(String sourceFileName, String destinationFileName, UIOption showUI, UICancelOption onUserCancel)
static TextFieldParser
OpenTextFieldParser(String file)
static TextFieldParser
OpenTextFieldParser(String file, int... fieldWidths)
static TextFieldParser
OpenTextFieldParser(String file, String... delimiters)
static TextFieldParser
OpenTextFieldParser(String dupParam0, JCORefOut dupParam1)
static StreamReader
OpenTextFileReader(String file)
static StreamReader
OpenTextFileReader(String file, Encoding encoding)
static StreamWriter
OpenTextFileWriter(String file, boolean append)
static StreamWriter
OpenTextFileWriter(String file, boolean append, Encoding encoding)
static byte[]
ReadAllBytes(String file)
static String
ReadAllText(String file)
static String
ReadAllText(String file, Encoding encoding)
static void
RenameDirectory(String directory, String newName)
static void
RenameFile(String file, String newName)
static void
setCurrentDirectory(String CurrentDirectory)
void
setJCOInstance(JCObject instance)
static void
WriteAllBytes(String file, byte[] data, boolean append)
static void
WriteAllBytes(String dupParam0, JCORefOut dupParam1, boolean dupParam2)
static void
WriteAllText(String file, String text, boolean append)
static void
WriteAllText(String file, String text, boolean append, Encoding encoding)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: Microsoft.VisualBasic.FileIO.FileSystem- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static FileSystem cast(IJCOBridgeReflected from) throws 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:
Throwable
- in case of error during cast operation
-
DirectoryExists
public static boolean DirectoryExists(String directory) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
ArgumentOutOfRangeException
-
FileExists
public static boolean FileExists(String file) throws Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
ReadAllBytes
public static byte[] ReadAllBytes(String file) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, EndOfStreamException
-
OpenTextFieldParser
public static TextFieldParser OpenTextFieldParser(String file) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, ObjectDisposedException, RankException, NotSupportedException, SecurityException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
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(String file, int... fieldWidths) throws 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:
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(String dupParam0, JCORefOut dupParam1) throws 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:
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(String file, String... delimiters) throws 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:
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(String directory) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException
-
GetDriveInfo
public static DriveInfo GetDriveInfo(String drive) throws Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, PathTooLongException, OutOfMemoryException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException
- Throws:
Throwable
ArgumentNullException
IndexOutOfRangeException
ArgumentException
ArgumentOutOfRangeException
PathTooLongException
OutOfMemoryException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
-
GetFileInfo
public static FileInfo GetFileInfo(String file) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
-
OpenTextFileReader
public static StreamReader OpenTextFileReader(String file) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, SecurityException, IOException
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
SecurityException
IOException
-
OpenTextFileReader
public static StreamReader OpenTextFileReader(String file, Encoding encoding) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
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(String file, boolean append) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, SecurityException, IOException, FormatException
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
SecurityException
IOException
FormatException
-
OpenTextFileWriter
public static StreamWriter OpenTextFileWriter(String file, boolean append, Encoding encoding) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
SecurityException
-
CombinePath
public static String CombinePath(String baseDirectory, String relativePath) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException
- Throws:
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 String GetName(String path) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
-
GetParentPath
public static String GetParentPath(String path) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
GetTempFileName
public static String GetTempFileName() throws Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
-
ReadAllText
public static String ReadAllText(String file) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
OutOfMemoryException
-
ReadAllText
public static String ReadAllText(String file, Encoding encoding) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
OutOfMemoryException
-
CopyDirectory
public static void CopyDirectory(String sourceDirectoryName, String destinationDirectoryName) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, boolean overwrite) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel) throws 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:
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(String sourceFileName, String destinationFileName) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
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(String sourceFileName, String destinationFileName, boolean overwrite) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
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(String sourceFileName, String destinationFileName, UIOption showUI) throws 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:
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(String sourceFileName, String destinationFileName, UIOption showUI, UICancelOption onUserCancel) throws 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:
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(String directory) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
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(String directory, DeleteDirectoryOption onDirectoryNotEmpty) throws 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:
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(String directory, UIOption showUI, RecycleOption recycle) throws 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:
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(String directory, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel) throws 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:
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(String file) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException, IOException
- Throws:
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(String file, UIOption showUI, RecycleOption recycle) throws 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:
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(String file, UIOption showUI, RecycleOption recycle, UICancelOption onUserCancel) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, boolean overwrite) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI) throws 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:
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(String sourceDirectoryName, String destinationDirectoryName, UIOption showUI, UICancelOption onUserCancel) throws 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:
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(String sourceFileName, String destinationFileName) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
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(String sourceFileName, String destinationFileName, boolean overwrite) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException, PathTooLongException, FileNotFoundException, IOException, PlatformNotSupportedException, Win32Exception, SecurityException, OperationCanceledException, DirectoryNotFoundException, UnauthorizedAccessException, DriveNotFoundException
- Throws:
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(String sourceFileName, String destinationFileName, UIOption showUI) throws 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:
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(String sourceFileName, String destinationFileName, UIOption showUI, UICancelOption onUserCancel) throws 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:
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(String directory, String newName) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
RenameFile
public static void RenameFile(String file, String newName) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NullReferenceException
-
WriteAllBytes
public static void WriteAllBytes(String file, byte[] data, boolean append) throws 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:
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(String dupParam0, JCORefOut dupParam1, boolean dupParam2) throws 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:
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(String file, String text, boolean append) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NullReferenceException, SecurityException
- Throws:
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(String file, String text, boolean append, Encoding encoding) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PathTooLongException, NullReferenceException, SecurityException, IOException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PathTooLongException
NullReferenceException
SecurityException
IOException
-
getCurrentDirectory
public static String getCurrentDirectory() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, FormatException, NullReferenceException
- Throws:
Throwable
ArgumentNullException
ArgumentException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
IndexOutOfRangeException
MissingManifestResourceException
InvalidOperationException
FormatException
NullReferenceException
-
setCurrentDirectory
public static void setCurrentDirectory(String CurrentDirectory) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FormatException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException
-
-