org.hfbk.vis.visnode.VisScanDir Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisScanDir:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisScanDir:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisScanDir (Node n, Vector3f position)

Package Functions

 SuppressWarnings ("unchecked") void scanfile(String startatdir

Package Attributes

final int DELAY = 1000
boolean dirty = true

Private Attributes

String path
File filesArray []
HashMap< File, Long > dir = new HashMap<File,Long>()
DirFilterWatcher dfw

Detailed Description

a watcher that monitors a certains directory content and updates files to space if needed
Author:
paul

Definition at line 27 of file VisScanDir.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisScanDir.VisScanDir ( Node  n,
Vector3f  position 
)

set up this scanner by starting the scanner thread

Definition at line 42 of file VisScanDir.java.

References org.hfbk.vis.visnode.VisScanDir.DELAY, org.hfbk.vis.visnode.VisScanDir.dfw, org.hfbk.vis.visnode.VisScanDir.dir, org.hfbk.vis.visnode.VisScanDir.filesArray, org.hfbk.vis.visnode.VisScanDir.path, and org.dronus.graph.Node.text.


Member Function Documentation

org.hfbk.vis.visnode.VisScanDir.SuppressWarnings ( "unchecked"   )  [package]

called by scanner thread to do one thread sample. samples filesystem and adds files to space


Member Data Documentation

String org.hfbk.vis.visnode.VisScanDir.path [private]

Definition at line 29 of file VisScanDir.java.

Referenced by org.hfbk.vis.visnode.VisScanDir.VisScanDir().

File org.hfbk.vis.visnode.VisScanDir.filesArray[] [private]

Definition at line 30 of file VisScanDir.java.

Referenced by org.hfbk.vis.visnode.VisScanDir.VisScanDir().

HashMap<File,Long> org.hfbk.vis.visnode.VisScanDir.dir = new HashMap<File,Long>() [private]

Definition at line 31 of file VisScanDir.java.

Referenced by org.hfbk.vis.visnode.VisScanDir.VisScanDir().

DirFilterWatcher org.hfbk.vis.visnode.VisScanDir.dfw [private]

Definition at line 32 of file VisScanDir.java.

Referenced by org.hfbk.vis.visnode.VisScanDir.VisScanDir().

final int org.hfbk.vis.visnode.VisScanDir.DELAY = 1000 [package]

milliseconds between thread samples

Definition at line 36 of file VisScanDir.java.

Referenced by org.hfbk.vis.visnode.VisScanDir.VisScanDir().

boolean org.hfbk.vis.visnode.VisScanDir.dirty = true [package]

Definition at line 39 of file VisScanDir.java.


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:55 2009 for visclient by  doxygen 1.5.1