public class FileSystemWatcher extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.FileSystemWatcher
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.IO.FileSystemWatcher
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileSystemWatcher() |
FileSystemWatcher(java.lang.Object instance)
Internal constructor.
|
FileSystemWatcher(java.lang.String path) |
FileSystemWatcher(java.lang.String path,
java.lang.String filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChanged(FileSystemEventHandler handler) |
void |
addCreated(FileSystemEventHandler handler) |
void |
addDeleted(FileSystemEventHandler handler) |
void |
addError(ErrorEventHandler handler) |
void |
addRenamed(RenamedEventHandler handler) |
void |
BeginInit() |
static FileSystemWatcher |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileSystemWatcher, a cast assert is made to check if types are compatible. |
void |
EndInit() |
boolean |
getEnableRaisingEvents() |
java.lang.String |
getFilter() |
boolean |
getIncludeSubdirectories() |
int |
getInternalBufferSize() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
NotifyFilters |
getNotifyFilter() |
java.lang.String |
getPath() |
ISynchronizeInvoke |
getSynchronizingObject() |
void |
removeChanged(FileSystemEventHandler handler) |
void |
removeCreated(FileSystemEventHandler handler) |
void |
removeDeleted(FileSystemEventHandler handler) |
void |
removeError(ErrorEventHandler handler) |
void |
removeRenamed(RenamedEventHandler handler) |
void |
setEnableRaisingEvents(boolean EnableRaisingEvents) |
void |
setFilter(java.lang.String Filter) |
void |
setIncludeSubdirectories(boolean IncludeSubdirectories) |
void |
setInternalBufferSize(int InternalBufferSize) |
void |
setJCOInstance(JCObject instance) |
void |
setNotifyFilter(NotifyFilters NotifyFilter) |
void |
setPath(java.lang.String Path) |
void |
setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) |
WaitForChangedResult |
WaitForChanged(WatcherChangeTypes changeType) |
WaitForChangedResult |
WaitForChanged(WatcherChangeTypes changeType,
int timeout) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileSystemWatcher()
throws java.lang.Throwable
java.lang.Throwablepublic FileSystemWatcher(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic FileSystemWatcher(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PathTooLongException,
NotSupportedException,
IndexOutOfRangeException,
InvalidOperationException,
ArgumentOutOfRangeException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic FileSystemWatcher(java.lang.String path,
java.lang.String filter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
IndexOutOfRangeException,
InvalidOperationException,
ArgumentOutOfRangeException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOutOfMemoryExceptionpublic void addChanged(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCreated(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDeleted(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addError(ErrorEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addRenamed(RenamedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void BeginInit()
throws java.lang.Throwable
java.lang.Throwablepublic static FileSystemWatcher cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileSystemWatcher, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileSystemWatcher instancejava.lang.Throwable - in case of error during cast operationpublic void EndInit()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
SecurityException,
ArgumentNullException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
PlatformNotSupportedException,
PathTooLongException,
IndexOutOfRangeException,
FileNotFoundException,
OutOfMemoryException,
NullReferenceException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionSecurityExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionIndexOutOfRangeExceptionFileNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionpublic boolean getEnableRaisingEvents()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFilter()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIncludeSubdirectories()
throws java.lang.Throwable
java.lang.Throwablepublic int getInternalBufferSize()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic NotifyFilters getNotifyFilter() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPath()
throws java.lang.Throwable
java.lang.Throwablepublic ISynchronizeInvoke getSynchronizingObject() throws java.lang.Throwable
java.lang.Throwablepublic void removeChanged(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCreated(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDeleted(FileSystemEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeError(ErrorEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeRenamed(RenamedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setEnableRaisingEvents(boolean EnableRaisingEvents)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
SecurityException,
ArgumentNullException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
PlatformNotSupportedException,
PathTooLongException,
IndexOutOfRangeException,
FileNotFoundException,
OutOfMemoryException,
NullReferenceException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionSecurityExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionIndexOutOfRangeExceptionFileNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionpublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException
public void setIncludeSubdirectories(boolean IncludeSubdirectories)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
SecurityException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
PlatformNotSupportedException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
OutOfMemoryException,
NullReferenceException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionSecurityExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionpublic void setInternalBufferSize(int InternalBufferSize)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
SecurityException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
PlatformNotSupportedException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
OutOfMemoryException,
NullReferenceException
java.lang.ThrowableObjectDisposedExceptionArgumentExceptionSecurityExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setNotifyFilter(NotifyFilters NotifyFilter) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, PlatformNotSupportedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, OutOfMemoryException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionPlatformNotSupportedExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionOutOfMemoryExceptionNullReferenceExceptionpublic void setPath(java.lang.String Path)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
NotImplementedException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
SecurityException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionNullReferenceExceptionpublic void setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) throws java.lang.Throwable
java.lang.Throwablepublic WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MulticastNotSupportedException, ObjectDisposedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, PlatformNotSupportedException, PathTooLongException, NotSupportedException, FileNotFoundException, OutOfMemoryException, IndexOutOfRangeException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMulticastNotSupportedExceptionObjectDisposedExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionNotSupportedExceptionFileNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MulticastNotSupportedException, ObjectDisposedException, SecurityException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, PlatformNotSupportedException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, OutOfMemoryException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMulticastNotSupportedExceptionObjectDisposedExceptionSecurityExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionOutOfMemoryExceptionNullReferenceException