https://github.com/salaxdev/jstreamloader
A Java library for loading and handling streams effortlessly
https://github.com/salaxdev/jstreamloader
file-loader image-loader java java-21 java-io java-library java-music-player java-streams open-source
Last synced: 3 months ago
JSON representation
A Java library for loading and handling streams effortlessly
- Host: GitHub
- URL: https://github.com/salaxdev/jstreamloader
- Owner: SalaxDev
- License: apache-2.0
- Created: 2024-12-14T02:57:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-11T20:50:23.000Z (5 months ago)
- Last Synced: 2025-04-05T12:09:50.033Z (3 months ago)
- Topics: file-loader, image-loader, java, java-21, java-io, java-library, java-music-player, java-streams, open-source
- Language: Java
- Homepage:
- Size: 862 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.apache.org/licenses/LICENSE-2.0)
# JStreamLoader
**JStreamLoader** is a lightweight, efficient Java library for loading files and resources directly from streams. Created by **SalaxDev**, it offers fast and easy resource management for Java projects.## Features
- **Load Images:** Load images from various locations including the program's directory or user home directory. If loading fails, a default error icon is returned.
- **Load Files:** Load text files from specified locations, including the program directory and user home.
- **Save Files:** Save files to the program's directory or the user's home directory with logging options.
- **Load and Play Audio:** Load and play `.wav` audio files from various locations, with the option to stop or restart the currently playing audio.## Installation
To use JStreamLoader in your Java project, you can either download the `JStreamLoader.jar` file and include it in your project’s classpath, or include it via your preferred dependency management system like Maven or Gradle.
### Maven
Step 1. Add the JitPack repository to your `pom.xml`:```xml
jitpack.io
https://jitpack.io
```
Step 2. Add the dependency
```xmlcom.github.SalaxDev
JStreamLoader
1.0.0```