Skip to content

Adobee/SerialGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SerialGen

Serial number generator for Java

###Usage

 // Create a builder
 SerialNumberBuilder builder = new SerialNumberBuilder();
 // Add serial part as u want 
 builder.addStaticPart("RUI").addDatePart("yyyyMMdd").addStreamPart(3, StreamFragment.OverflowType.RESET);
 // Build serial number instance 
 SerialNumber serialNumber = builder.build();
 // Get a serial number value
 String ret = serialNumber.getValue();

About

Serial number generator for Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published