public class TipLoader extends Object
Modifier | Constructor and Description |
---|---|
private |
TipLoader() |
Modifier and Type | Method and Description |
---|---|
static TipOfTheDayModel |
load(Properties props)
Initializes a TipOfTheDayModel from properties.
|
private TipLoader()
public static TipOfTheDayModel load(Properties props)
tip.1.name=First Tip
tip.1.description=This is the description
tip.2.name=Second Tip
tip.2.description=<html>This is an html description
...
tip.10.description=No name for this tip, name is optional
props
- IllegalArgumentException
- if a name is found without descriptionWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses