Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.server.handlers.resource;

An event that is fired when a resource is modified

Author(s):
Stuart Douglas
 
 public class ResourceChangeEvent {
 
    private final String resource;
    private final Type type;
    public ResourceChangeEvent(String resourceType type) {
        this. = resource;
        this. = type;
    }
    public String getResource() {
        return ;
    }
    public Type getType() {
        return ;
    }

    
Watched file event types. More may be added in the future.
    public static enum Type {
        
A file was added in a directory.
        ADDED,
        
A file was removed from a directory.
        REMOVED,
        
A file was modified in a directory.
        MODIFIED,
    }
New to GrepCode? Check out our FAQ X