Skip to content

hbelmiro/demo-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo Library

This project is a library for padding Strings in Java.


WARNING

Don't use this in production. It was created for demo purposes only.


How to use it:

Add the following dependency:

<dependency>
    <groupId>com.thegreatapi.demolibrary</groupId>
    <artifactId>demolibrary</artifactId>
    <version>${VERSION}</version>
</dependency>

The folling code

String paddedString = this.stringPadder.padLeft("My String", 30, '-');
System.out.println(paddedString);

Will print:

---------------------My String

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages