Releases: raghul-tech/OpenLoom
OpenLoom v1.0.0
π OpenLoom v1.0.0 - Production Ready Java File I/O Library
The first stable release of OpenLoom is here! A lightweight, dependency-free Java file I/O toolkit that simplifies reading, writing, searching, and managing files.
π What's New in 1.0.0
β¨ Complete I/O Ecosystem
OpenLoom now offers four specialized managers for all your file operations:
- π§ ReadManager - Advanced file reading with multiple strategies
- βοΈ WriteManager - Reliable file writing and appending
- π SearchManager - Powerful text search and modification
- π FileManager - Robust file system operations
π― Key Features That Set Us Apart
π Advanced Search Capabilities
// Range-limited search (UNIQUE to OpenLoom)
List<String> results = loom.search().findLineInRange(file, "error", 100, 200);
List<String> regexResults = loom.search().findLineRegexInRange(file, "ERROR.*", 50, 150);
// Safe operations with automatic backups
loom.search().replaceTextSafe(file, "old", "new"); // Creates backup automaticallyπ¦ Zero Dependencies, Maximum Power
-
No external dependencies - Pure Java 11+
-
Lightweight - Minimal footprint in your project
-
Easy updates - No dependency conflicts
π‘οΈ Built-in Safety Features
-
Recursion protection in directory operations
-
Automatic validation with detailed error messages
-
Atomic operations with proper fallback handling
π Dual Input Support
// Works with both File and Path seamlessly
loom.read().read(new File("data.txt")); // Traditional File API
loom.read().read(Paths.get("data.txt")); // Modern Path API##π Why OpenLoom is Easier to Use
π― Single Entry Point
// One class for all file operations vs multiple utility classes
OpenLoom loom = new OpenLoom();
loom.read().read(file);
loom.write().write(file, content);
loom.search().findLine(file, "pattern");###β‘ Simplified Complex Operations
// Before: Manual coding for advanced search
// Multiple loops, buffer management, error handling...
// After: One method call
List<String> results = loom.search().findLineRegexInRange(file, "pattern", start, end);###π‘οΈ Built-in Safety
// Automatic backups for risky operations
loom.search().replaceTextSafe(file, "old", "new"); // No manual backup code neededπ Flexible API
// Works with both File and Path without conversion
loom.file().copyFile(new File("src.txt"), Paths.get("dest.txt"));β‘ Performance Highlights
-
Memory-mapped I/O for large file handling
-
Customizable buffers for optimal memory usage
-
Efficient algorithms for fast search and replace
-
Synchronous design for predictable performance
π₯ Installation
Maven
<dependency>
<groupId>io.github.raghul-tech</groupId>
<artifactId>openloom</artifactId>
<version>1.0.0</version>
</dependency>Gradle
implementation 'io.github.raghul-tech:openloom:1.0.0'##π― Perfect For
π§ Configuration Management - Safe updates to config files
-
π Log Processing - Advanced search and analysis
-
ποΈ Data Migration - Bulk file operations with safety
-
π Document Processing - Large-scale text manipulation
π Links
π¦ Maven Central
π Documentation: Javadocs
π Issues: Report Bugs
π README: Getting Started Guide
Ready to simplify your file operations? Give OpenLoom a try today! π
OpenLoom v0.0.2
π§΅ OpenLoom v0.0.2 β Packaging Fix Release π¦
This minor release fixes a key packaging issue from v0.0.1, ensuring the artifact is recognized properly in IDEs and dependency managers.
π§ Fixes
- β
Proper JAR Packaging
- The library is now published correctly as a
.jarfile (not shown as a folder) when added via Maven or Gradle. - Resolves IDE issues where the dependency was not recognized as a compiled JAR.
- The library is now published correctly as a
π¦ Dependency Example
<dependency>
<groupId>io.github.raghul-tech</groupId>
<artifactId>openloom</artifactId>
<version>0.0.2</version>
</dependency>π Quick Links
π¦ Maven Central
π Javadoc
π Source Code
π‘ Examples Folder
β Support OpenLoom
β Requirements
Java 8 or above (JDK 17+ recommended)
π Version: v0.0.2
π Release Date: 2025-06-19
OpenLoom v0.0.1
π§΅ OpenLoom v0.0.1 β First Official Release π
- Say hello to OpenLoom, a modern and lightweight Java library for smart file reading β built to make working with files effortless and fast π.
β¨ Highlights
-
π Read Files Easily β Read files with File or Path using a clean API.
-
π§ Adaptive Engine β Automatically chooses the best read strategy (BufferedReader, NIO, or Memory-Mapped) based on file size.
-
β‘ Asynchronous Support β Read files asynchronously using CompletableFuture.
-
π Line-by-Line Streaming β Stream lines in both sync and async modes.
-
π Multi-Charset Support β Read files with UTF-8, ISO-8859-1, UTF-16, and more.
-
βοΈ Zero Config β Just drop it in. No setup needed.
π§ͺ Example Usage
OpenLoom reader = new OpenLoom();
StringBuilder content = reader.read(new File("data.txt"));
System.out.println(content);reader.readAsync(new File("large.txt")).thenAccept(content -> {
System.out.println("First 100 chars: " + content.substring(0, 100));
});π Quick Links
π¦ Maven Central
π Javadoc
π Source Code
π‘ Examples Folder
β Support OpenLoom
β Requirements
Java 8 or above (JDK 17+ recommended)