Code Monkey home page Code Monkey logo

swing-file-browser's Introduction

swing-file-browser

A simple swing-based file browser with ftp support and files preview.

Running application

Option one

  1. mvn clean compile
  2. mvn exec:java

Option two

  1. mvn package
  2. java -jar target/com.example-0.1-SNAPSHOT.jar

Features

  1. local & ftp files browsing
  2. ftp host:port, ftps, file encoding settings
  3. anonymous login support
  4. storing preferred ftp connection settings in a properties file
  5. file and directory icons based on the underlying system ui
  6. list entry go up a tree on the top
  7. tabs for different file lists
  8. support for simultaneous work with different tabs in slow file system environment
  9. toggling showing hidden files via toolbar or via menu item
  10. hotkeys support: enter for opening selected item, backspace for going up a tree
  11. zip archive contents browsing without explicit extraction
  12. opening text and image files in a standalone thread (opening files inside archive supported)
  13. loading files in a separate worker thread
  14. closing file preview on ESC or on 'Meta + W'
  15. zooming images

FTP connection properties

Properties list

property name type value example default value
host string ftp.example.com
port int 69 21
ftps boolean true false
username string innokenty -
password string P@$5w0r† -
file.type one of {binary, ASCII, EBCDIC, local} binary ASCII

Setting properties

There are three options to specify each property listed in the previous section:

  1. via JVM system property
  2. in a classpath resource named swing-file-browser.properties
  3. in /etc/swing-file-browser.properties file

If any property is specified in multiple sources of the above, the upper source in the list gets the priority.

swing-file-browser.properties file example

host=ftp.example.com
ftps=true
username=innokenty
password=P@$5w0r† 
file.type=local

swing-file-browser's People

Contributors

innokenty avatar

Watchers

Zubayer Ahamed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.