@ThreadSafe public class TOU extends Object
| Modifier and Type | Field and Description |
|---|---|
private Logger |
logger
Class logger.
|
private String |
text
The text of the terms of use.
|
private String |
version
The version of the terms of use.
|
| Constructor and Description |
|---|
TOU(String touVersion,
Resource resource)
Constructs terms of use.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Gets the text of the terms of use.
|
String |
getVersion()
Gets the version of the terms of use.
|
private final Logger logger
private final String version
private final String text
public TOU(String touVersion, Resource resource) throws TermsOfUseException
touVersion - The version of the terms of use.resource - The resource from where the terms of use text is loaded.TermsOfUseException - In case of an initialization error.Copyright © 1999–2014. All rights reserved.