Skip to content

skn437/skn-java-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKN Java Message Library

java

Java

Maven Central Javadoc Apache License 2.0

 

JavaDocs:

Read the Javadoc for the main API: Message API

 

Introduction:

This is a simple Java Library for notification message on console & server response

I made this library so that I can use it in all of my java projects without writing the same codes over and over again

The main API Class of this library is Message which holds 7 static methods to output notifications

 

Details:

Message Class:

  • It doesn't need to be instantiated
  • It has 7 static methods
  • The notification modes are:
    • Info message on console
    • Success message on console
    • Success message as server response
    • Success message as server mono response (Reactive)
    • Error message on console
    • Error message as server response
    • Error message as server mono response (Reactive)

 

Use Case:

  • Java
  • Java Spring Boot

 

Requirements:

  • 💀 Minimum Java Version: 21
  • 💀 Minimum Maven Version: 3.9.6

 

Usage:

For Maven, inside dependencies tag of pom.xml, copy the following

<dependency>
 <groupId>best.skn</groupId>
 <artifactId>skn-java-message</artifactId>
 <version>1.1.2</version>
</dependency>

Write the following in the terminal

mvn install

Inside your Java Code, import the package like this

import best.skn.utils.message.Message;

For instructions for Gradle & others: Visit Maven Central

 

Dedicated To:

  • 👩‍🎨Prodipta Das Logno & 🧛‍♀️Atoshi Sarker Prithula: The two most special ladies of my life. I can't thank them enough for always treasuring me a lot. I am lucky that I met with these two amazing ladies. They have two special places in my heart and no other girl can ever replace them.
  • 💯My Father & Mother: The greatest treasures of my life ever.