public class PropertiesReference extends Object implements Serializable
Data type to represent one of:
| ReferenceType.EXTERNAL, in which case data is understood to be an Operating system path to a properties file |
| ReferenceType.CLASSLOADED, in which case data is understood as a path to a class loadable properties file |
| ReferenceType.DIRECT, in which case data is understood as raw properties name value pairs to be parsed as such |
| ReferenceType.COMMANDLINE_OVERRIDE in which case data is the name of a property to be searched for from the command line |
| Modifier and Type | Field and Description |
|---|---|
Charset |
charset |
String |
data |
private static long |
serialVersionUID |
ReferenceType |
type |
| Constructor and Description |
|---|
PropertiesReference(File data,
Charset charset) |
PropertiesReference(ReferenceType type,
String data)
Assume UTF-8 as a default
|
PropertiesReference(ReferenceType type,
String data,
Charset charset) |
private static final long serialVersionUID
public final ReferenceType type
public final String data
public final Charset charset
public PropertiesReference(ReferenceType type, String data)
type - data - public PropertiesReference(ReferenceType type, String data, Charset charset)
Copyright © 2011–2016 David R. Smith. All rights reserved.