Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

dready/fs-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple FileSystem Indexer

A simple FileSystem Indexer capable of walking through a specific Directory recursively and if configured registering all Directories on it's way to a watchdog. The watchdog then will call the indexer if a directory has been modified or created.

Requirements

Java 7

Usages

To use the Indexer you can use it directly and providing it with your FileVisitor or you can use the IndexingThread for it.

Indexer indexer = new Indexer();
indexer.setVisitor(myFileVisitor);
indexer.index(myDirectory);

// if using the Thread
IndexingThread thread = new IndexingThread();
thread.setIndexer(indexer);
thread.run();

About

Simple Java FileSystem Indexer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages