-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documented the new ResourcesUtils api
- Loading branch information
Showing
13 changed files
with
299 additions
and
77 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.