Hutool 39 New [ OFFICIAL – 2026 ]

// Resize every PNG in a directory, keeping EXIF data File[] images = FileUtil.ls("/photos"); for (File img : images) ImgUtil.scale(img, FileUtil.file("/thumbnails", img.getName()), 0.5f); // New in v39: Preserves orientation using ImageMetadataReader

This is where Hutool steps in. It is not a framework that dictates architecture like Spring; rather, it is a utilitarian layer that smooths over the jagged edges of the JDK. Version 5.8.39 encapsulates this ethos perfectly. It provides a suite of static method wrappers ( XxxUtil ) that turn complex operations into one-liners. hutool 39 new

To use Hutool 5.8.39 in your project, add the following dependency to your pom.xml : // Resize every PNG in a directory, keeping

import cn.hutool.core.date.DateUtil;