public class Version extends Object
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
void |
addClass(Class<?> c)
Add a class to the version information
|
void |
print()
Prints version information for all registered classes to Standard Out
|
void |
print(IndentedWriter writer)
Prints version information for all registered classes to the given writer
|
String |
toString()
Gets user friendly version information for all registered classes as a string
|
String |
toString(boolean singleLine)
Gets user friendly version information for all registered classes as a string
|
public void addClass(Class<?> c)
c
- Classpublic void print()
public void print(IndentedWriter writer)
writer
- Writer to print version information topublic String toString(boolean singleLine)
singleLine
- Whether to print to a single lineLicenced under the Apache License, Version 2.0