Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.notifier
Class FileChangeNotifier.FileEntry

java.lang.Object
  extended by org.nuxeo.ecm.webengine.notifier.FileChangeNotifier.FileEntry
All Implemented Interfaces:
java.lang.Comparable<FileChangeNotifier.FileEntry>
Enclosing class:
FileChangeNotifier

public class FileChangeNotifier.FileEntry
extends java.lang.Object
implements java.lang.Comparable<FileChangeNotifier.FileEntry>


Field Summary
 java.util.HashMap<java.io.File,FileChangeNotifier.FileEntry> children
           
 java.io.File file
           
 boolean isDirectory
           
 long lastModified
           
 
Constructor Summary
FileChangeNotifier.FileEntry(java.io.File file)
           
 
Method Summary
 int compareTo(FileChangeNotifier.FileEntry o)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 void scanForChanges(java.util.List<java.io.File> created, java.util.List<java.io.File> removed, java.util.List<java.io.File> modified)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

file

public java.io.File file

isDirectory

public boolean isDirectory

lastModified

public long lastModified

children

public java.util.HashMap<java.io.File,FileChangeNotifier.FileEntry> children
Constructor Detail

FileChangeNotifier.FileEntry

public FileChangeNotifier.FileEntry(java.io.File file)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

compareTo

public int compareTo(FileChangeNotifier.FileEntry o)
Specified by:
compareTo in interface java.lang.Comparable<FileChangeNotifier.FileEntry>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

scanForChanges

public void scanForChanges(java.util.List<java.io.File> created,
                           java.util.List<java.io.File> removed,
                           java.util.List<java.io.File> modified)
                    throws java.io.IOException
Throws:
java.io.IOException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.