Skip to content

Aids to find a java class within JAR or ZIP files

Notifications You must be signed in to change notification settings

flagsibh/jar-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jar Search

Swing application that aids to find a java class within JAR or ZIP files.

It's an example of how to use multiple threads to recursively search within a directory. It uses a BlockingQueue to synchronize threads and the library Awaitility to wait for all threads to end.

It also shows how to use the Observer design pattern.

Run

  1. Compile & Package

    As a Maven project it's very easy to compile an package the application:

    mvn clean package

    And it will construct a the file target/jar-search-1.0-SNAPSHOT.jar

  2. Run

    Simply run:

    java -jar jar-search-1.0-SNAPSHOT.jar

    Or use one of the files in the directory run, depending on your OS:

    • Windows:

    run\jar-search.bat

    • Linux:

    run/jar-search.sh

Releases

No releases published

Packages

No packages published

Languages