Package ca.corbett.extras.io
package ca.corbett.extras.io
Contains utility classes for dealing with input and output operations.
The major classes here are:
- FileSystemUtil - Many handy methods for working with files and directories.
- DownloadManager - Easily download files from the internet with progress monitoring.
- HyperlinkUtil - Easily open hyperlinks in the default browser.
- KeyStrokeManager - Easily add keyboard shortcuts to any window.
-
ClassDescriptionAn empty implementation of DownloadListener that you can extend if you only care about implementing one or two methods instead of all of them.Can be used with DownloadManager to listen for progress, completion, or error updates from downloads in progress.Manages file downloads via http and reports on their progress, completion status, or error status.Manages a single download with progress notifications - you generally shouldn't need to interact with this class directly; instances of this class are created and managed automatically by the DownloadManager.A simple Comparator implementation that compares File objects by comparing their absolute paths.Deprecated.Use FileNameComparatorA simple interface to be notified of progress during file searches.Provides a number of handy static utility methods for working with files and directories.Utility class for hyperlink launching in JREs that support it.If the current JRE supports browsing, this action will open the given URI in the user's default browser.A very simple interface that allows convenient use of lambda expressions for key actions.This class allows very easy registration of keyboard shortcuts for a given Window.This utility class can be used to quickly "guess" if a file is likely a text file based on the presence of non-printable characters in a sample of its content.Builder for configurable text file detection.