Skip to content

Commit

Permalink
Documented the new ResourcesUtils api
Browse files Browse the repository at this point in the history
  • Loading branch information
N7ghtm4r3 committed Jan 11, 2024
1 parent 29b152f commit 2407dd0
Show file tree
Hide file tree
Showing 13 changed files with 299 additions and 77 deletions.
Binary file modified .gradle/file-system.probe
Binary file not shown.
73 changes: 39 additions & 34 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Tecknobit - N7ghtm4r3
Copyright (c) 2024 Tecknobit - N7ghtm4r3

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# APIManager

**v2.2.1**
**v2.2.2**

This is a Java Based library useful to work with all json api services.

Expand Down Expand Up @@ -36,15 +36,15 @@ Add the JitPack repository to your build file
```gradle
dependencies {
implementation 'com.github.N7ghtm4r3:APIManager:2.2.1'
implementation 'com.github.N7ghtm4r3:APIManager:2.2.2'
}
```
#### Gradle (Kotlin)
```gradle
dependencies {
implementation("com.github.N7ghtm4r3:APIManager:2.2.1")
implementation("com.github.N7ghtm4r3:APIManager:2.2.2")
}
```
Expand All @@ -66,7 +66,7 @@ Add the JitPack repository to your build file
<dependency>
<groupId>com.github.N7ghtm4r3</groupId>
<artifactId>APIManager</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
</dependency>
```

Expand All @@ -93,6 +93,8 @@ The other tools will be gradually released
- <a href="https://github.com/N7ghtm4r3/APIManager/blob/main/documd/RSA.md">**RSA encryption package**</a> allows you to use the RSA encryption type easily
- <a href="https://github.com/N7ghtm4r3/APIManager/blob/main/documd/QRCodeHelper.md">**QRCodeHelper**</a> allows you to create the QRCODE easily
- <a href="https://github.com/N7ghtm4r3/APIManager/blob/main/documd/ConsolePainter.md">**ConsolePainter**</a> allows you to customize your console outputs easily
- <a href="https://github.com/N7ghtm4r3/APIManager/blob/main/documd/ResourcesUtils.md">**ResourcesUtils**</a> allows
you to use the resources folder easily

The other apis will be gradually released

Expand Down Expand Up @@ -136,4 +138,4 @@ If you want support project and developer
If you want support project and developer
with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/AES.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/APIRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/ConsolePainter.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/QRCodeHelper.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/RSA.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
65 changes: 65 additions & 0 deletions documd/ResourcesUtils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## ResourcesUtils

### Usage/Examples

```java
public class MyCallingClass {

public static void main(String[] args) throws IOException {

// Invoking a ResourcesUtils method one time
String resourceContent = ResourcesUtils.getResourceContent("my_path_name.resource", MyCallingClass.class);

// Invoking a ResourcesUtils methods multiple time is more efficient instantiating a dedicated object
ResourcesUtils<Class<MyCallingClass>> resourcesUtils = new ResourcesUtils<>(MyCallingClass.class);

String firstResourceContent = resourcesUtils.getResourceContent("my_first_path_name.resource");

String secondResourceContent = resourcesUtils.getResourceContent("my_second_path_name.resource");

}

}
```

## Authors

- [@N7ghtm4r3](https://www.github.com/N7ghtm4r3)

## Support

If you need help using the library or encounter any problems or bugs, please contact us via the following links:

- Support via <a href="mailto:[email protected]">email</a>
- Support via <a href="https://github.com/N7ghtm4r3/APIManager/issues/new">GitHub</a>

Thank you for your help!

## Badges

[![](https://img.shields.io/badge/Google_Play-414141?style=for-the-badge&logo=google-play&logoColor=white)](https://play.google.com/store/apps/developer?id=Tecknobit)
[![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/tecknobit)

[![](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white)](https://www.oracle.com/java/)

[![](https://jitpack.io/v/N7ghtm4r3/APIManager.svg)](https://jitpack.io/#N7ghtm4r3/APIManager)

## Business contact

If you need to contact me for a project

[![](https://img.shields.io/badge/fiverr-1DBF73?style=for-the-badge&logo=fiverr&logoColor=white)](https://www.fiverr.com/manuel_maurizio)

## Donations

If you want support project and developer

| Crypto | Address | Network |
|-----------------------------------------------------------------------------------------------------|------------------------------------------------|----------|
| ![](https://img.shields.io/badge/Bitcoin-000000?style=for-the-badge&logo=bitcoin&logoColor=white) | **3H3jyCzcRmnxroHthuXh22GXXSmizin2yp** | Bitcoin |
| ![](https://img.shields.io/badge/Ethereum-3C3C3D?style=for-the-badge&logo=Ethereum&logoColor=white) | **0x1b45bc41efeb3ed655b078f95086f25fc83345c4** | Ethereum |

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">
PayPal</a>

Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/ServerProtector.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ If you want support project and developer
If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">
PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
2 changes: 1 addition & 1 deletion documd/SocketManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ If you want support project and developer

If you want support project and developer with <a href="https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4">PayPal</a>

Copyright © 2023 Tecknobit
Copyright © 2024 Tecknobit
Loading

0 comments on commit 2407dd0

Please sign in to comment.