Package net.n2oapp.properties.reader
Class PropertiesReader
- java.lang.Object
-
- net.n2oapp.properties.reader.PropertiesReader
-
public class PropertiesReader extends Object
User: operhod Date: 11.10.13 Time: 12:03 PropertiesReader reads and loads properties from files in classpath.
-
-
Constructor Summary
Constructors Constructor Description PropertiesReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OverridePropertiesgetPropertiesFromClasspath(String name)static OverridePropertiesgetPropertiesFromClasspath(String... paths)static OverridePropertiesgetPropertiesFromClasspath(OverrideProperties... parentProperties)static OverridePropertiesgetPropertiesFromURI(String locationPattern)static ReloadablePropertiesgetReloadableFromClasspath(String name, int cacheTime)static ReloadablePropertiesgetReloadableFromFilesystem(String location, int cacheTime)static ReloadablePropertiesgetReloadableFromResource(org.springframework.core.io.Resource resource, int cacheTime)
-
-
-
Method Detail
-
getPropertiesFromClasspath
public static OverrideProperties getPropertiesFromClasspath(String name)
-
getPropertiesFromURI
public static OverrideProperties getPropertiesFromURI(String locationPattern)
-
getPropertiesFromClasspath
public static OverrideProperties getPropertiesFromClasspath(OverrideProperties... parentProperties)
-
getPropertiesFromClasspath
public static OverrideProperties getPropertiesFromClasspath(String... paths)
-
getReloadableFromClasspath
public static ReloadableProperties getReloadableFromClasspath(String name, int cacheTime)
-
getReloadableFromFilesystem
public static ReloadableProperties getReloadableFromFilesystem(String location, int cacheTime)
-
getReloadableFromResource
public static ReloadableProperties getReloadableFromResource(org.springframework.core.io.Resource resource, int cacheTime)
-
-