Java, Software Development

Java – Monitor Directory for File Creation

In batch processing, there are use-cases that require event triggers to start operations on data sources, e.g., files or remote web endpoint. These could be user-initiated events like clicking a button. They could even be system-generated ones like file creation. This post demonstrates how to monitor a local file system directory for new files for processing using only Java.

Read More...

Software Development

Java – Get a directory’s size

There’s a few ways to get a directory’s size.

Read More...

Software Development

Java – Check for file or directory

The class java.io.File can be used to check for files or directory.

Read More...