
org.apache.cayenne.modeler.util.FileWatchdog.class Maven / Gradle / Ivy
???? 1 ?
5 w ? 3 x y
w 3 z {
w
| } 3 ~
3 3 ? ?
? ? ? ? 3 ? ?
w ?
?
? ? ? ? ? ? ? 3 ? ?
w ? ? ? ? ? ? ? ?
?
? ? ?
? ?
? ?
?
? ? ????????? ? ? ? ?
3 ?
3 ?
5 ?
3 ? ? ?
? ? ? FileInfo InnerClasses
DEFAULT_DELAY J
ConstantValue filesInfo Ljava/util/Map; Signature ZLjava/util/Map; delay paused Z singleNotification sync Ljava/lang/Object; log Lorg/apache/commons/logging/Log; ()V Code LineNumberTable LocalVariableTable this .Lorg/apache/cayenne/modeler/util/FileWatchdog; setSingleNotification (Z)V b isSingleNotification ()Z addFile (Ljava/lang/String;)V e Ljava/lang/SecurityException; location Ljava/lang/String;
removeFile removeAllFiles setDelay (J)V
doOnChange :(Lorg/apache/cayenne/modeler/util/FileWatchdog$FileInfo;)V
doOnRemove check l fi 7Lorg/apache/cayenne/modeler/util/FileWatchdog$FileInfo;
fileExists it Ljava/util/Iterator; aDeleted i$ aChanged changed Ljava/util/List; deleted LocalVariableTypeTable MLjava/util/Iterator; ILjava/util/List; run Ljava/lang/InterruptedException;
pauseWatching resumeWatching
SourceFile FileWatchdog.java G H ? 9 java/lang/Object C D java/util/HashMap ? ? ? ; < ? O B A 5org/apache/cayenne/modeler/util/FileWatchdog$FileInfo G ? ? ? ? java/lang/SecurityException E F java/lang/StringBuilder SecurityException adding file ? ? ? ? ? ? ? ? ? ? H @ A java/util/Vector ? ? ? ? ? ? ? R ? ? ? ? ? ? R SecurityException checking file ? ? ? ? ? ? ? \ ? ? ? ? H _ ^ ] ^ ? \ ` H java/lang/InterruptedException ,org/apache/cayenne/modeler/util/FileWatchdog ? ? ? java/lang/Thread java/util/Collections synchronizedMap (Ljava/util/Map;)Ljava/util/Map; setDaemon C(Lorg/apache/cayenne/modeler/util/FileWatchdog;Ljava/lang/String;)V
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; org/apache/commons/logging/Log error *(Ljava/lang/Object;Ljava/lang/Throwable;)V remove &(Ljava/lang/Object;)Ljava/lang/Object; clear values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; getFile ()Ljava/io/File; java/io/File exists getPath lastModified ()J getLastModified setLastModified java/util/List add (Ljava/lang/Object;)Z sleep %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;! 3 5 8 9 : ; <