https://github.com/alfonsog-dev/iomodule
Is a study purpose project to try different ways to manage files and multithread
https://github.com/alfonsog-dev/iomodule
Last synced: 11 months ago
JSON representation
Is a study purpose project to try different ways to manage files and multithread
- Host: GitHub
- URL: https://github.com/alfonsog-dev/iomodule
- Owner: AlfonsoG-dev
- Created: 2025-06-17T05:51:36.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-06-17T06:13:46.000Z (12 months ago)
- Last Synced: 2025-06-17T06:33:15.142Z (12 months ago)
- Language: Java
- Size: 0 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IO module
A simple project to study and try different ways to manage files using the Java API.
- Also, i plan to integrate multithread operations.
## References
- [Java API docs](https://download.java.net/java/early_access/valhalla/docs/api/)
## Dependencies
- [Java JDK](https://www.oracle.com/java/technologies/downloads/)
- [custom build tool](https://github.com/AlfonsoG-dev/javaBuild)
- [custom file system operations](https://github.com/AlfonsoG-dev/filesManager)
---
## Installation
1. Clone the repository
```sh
git clone https://www.github.com/AlfonsoG-dev/IoModule
```
2. Build the project.
- You can either use the `.ps1` script
```sh
pwsh build.ps1
```
- Or you can use my [custom build tool](https://github.com/AlfonsoG-dev/javaBuild)
```sh
jb --build
```
> If you are using the `.jar` build.
```sh
java -jarJavaBuild.jar --build
```
3. Execute the program using `.jar` file
```sh
java -jar IoModule.jar
```
---
## Usage
There are CLI options to list files from the source of the `mysql JDBC` library.
1. List by using the `Runnable` implementation.
```sh
java -jar IoModule.jar --r
```
2. List by using the `Callable` implementation.
```sh
java -jar IoModule.jar --c
```
3. List by using the `Callable` in asynchronous manner
```sh
java -jar IoModule.jar --ec
```
4. List by using the `Callable List` in asynchronous manner.
> This is performed by passing two list of the type `Callable>`
>- It shows the list of files and the list of directories inside the `mysql JDBC` library
```sh
java -jar IoModule.jar --lc
```
5. List file lines by using the `Callable`.
```sh
java -jar IoModule.jar --rfl
```
Lastly you can see the options by using:
```sh
java -jar IoModule.jar --h
```
---
# Disclaimer
- This project is for educational purposes.
- Security issues aren't taken into account.