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.IO.FileSystem.Watcher, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.FileSystem.Watcher
|
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) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, 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,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic FileSystemWatcher(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic FileSystemWatcher(java.lang.String path)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException
public FileSystemWatcher(java.lang.String path,
java.lang.String filter)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException
public 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,
ObjectDisposedException,
ArgumentNullException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionpublic 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,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
InvalidOperationException,
ArgumentOutOfRangeException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
FileNotFoundException,
OutOfMemoryException,
ThreadStateException
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionFileNotFoundExceptionOutOfMemoryExceptionThreadStateExceptionpublic 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,
PlatformNotSupportedException,
ObjectDisposedException,
IndexOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
FileNotFoundException,
ApplicationException,
ThreadStateException,
NullReferenceException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionFileNotFoundExceptionApplicationExceptionThreadStateExceptionNullReferenceExceptionpublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public void setIncludeSubdirectories(boolean IncludeSubdirectories)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
FileNotFoundException,
ApplicationException,
ThreadStateException,
NotSupportedException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionFileNotFoundExceptionApplicationExceptionThreadStateExceptionNotSupportedExceptionpublic void setInternalBufferSize(int InternalBufferSize)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
FileNotFoundException,
ApplicationException,
ThreadStateException,
NotSupportedException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionFileNotFoundExceptionApplicationExceptionThreadStateExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setNotifyFilter(NotifyFilters NotifyFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FileNotFoundException, OutOfMemoryException, ApplicationException, ThreadStateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundExceptionOutOfMemoryExceptionApplicationExceptionThreadStateExceptionpublic void setPath(java.lang.String Path)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
FileNotFoundException,
OutOfMemoryException,
ApplicationException,
ThreadStateException,
ArgumentNullException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionFileNotFoundExceptionOutOfMemoryExceptionApplicationExceptionThreadStateExceptionArgumentNullExceptionpublic void setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) throws java.lang.Throwable
java.lang.Throwablepublic WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, MulticastNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, FormatException, FileNotFoundException, ThreadStateException, EventSourceException, TaskSchedulerException, OperationCanceledException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionFormatExceptionFileNotFoundExceptionThreadStateExceptionEventSourceExceptionTaskSchedulerExceptionOperationCanceledExceptionpublic WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, MulticastNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FileNotFoundException, ApplicationException, ThreadStateException, TaskSchedulerException, OperationCanceledException, FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundExceptionApplicationExceptionThreadStateExceptionTaskSchedulerExceptionOperationCanceledExceptionFormatExceptionpublic WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, NullReferenceException, MulticastNotSupportedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FileNotFoundException, ThreadStateException, EventSourceException, TaskSchedulerException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFileNotFoundExceptionThreadStateExceptionEventSourceExceptionTaskSchedulerExceptionOperationCanceledException