| Modifier and Type | Method and Description |
|---|---|
static PropertiesResourceReader |
build(String resourcePath)
Build a properties reader for the resource of a specified path.
|
PropertiesResourceReader |
charset(Charset charset)
The
Charset of the resource. |
Charset |
getCharset() |
PropertiesResourceReader |
ignoreNotFound(boolean ignoreNotFound)
Whether to ignore if the resource is not found.
|
boolean |
isIgnoreNotFound() |
Map<String,PropertyValue> |
read() |
public static PropertiesResourceReader build(String resourcePath)
resourcePath - the path on the filesystem of the properties filepublic Map<String,PropertyValue> read()
public boolean isIgnoreNotFound()
public PropertiesResourceReader ignoreNotFound(boolean ignoreNotFound)
ignoreNotFound - public PropertiesResourceReader charset(Charset charset)
Charset of the resource.
Default is UTF8.charset - Copyright © 2019. All rights reserved.