Package org.geotools.data.util
Class PropertiesTransformer
Object
PropertiesTransformer
Utility class for converting between
Properties objects and alternative representations such as
Map or flat key–value strings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidloadProperties(String params, Properties properties) Loads key–value pairs from raw text into a Properties object after normalization.static StringNormalizes raw property text into a clean, loadable format.static PropertiesparamsStringToProperties(String paramsText) Parses an encoded parameter string into a Properties object.propertiesToMap(Properties props) Converts a Properties object into a Map representation.static StringpropertiesToString(Properties props) Serializes a Properties object into a semicolon-delimited key=value string.
-
Constructor Details
-
PropertiesTransformer
public PropertiesTransformer()
-
-
Method Details
-
propertiesToMap
Converts a Properties object into a Map representation. -
propertiesToString
Serializes a Properties object into a semicolon-delimited key=value string. -
paramsStringToProperties
Parses an encoded parameter string into a Properties object.- Throws:
IOException
-
loadProperties
Loads key–value pairs from raw text into a Properties object after normalization.- Throws:
IOException
-
normalizePropertiesString
Normalizes raw property text into a clean, loadable format.
-