Package net.n2oapp.properties.io
Class PropertiesRewriter
java.lang.Object
net.n2oapp.properties.io.PropertiesRewriter
- Author:
- V. Alexeev.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K> voidremoveProperty(org.springframework.core.io.Resource resource, K key) static <K,V> void updateProperty(org.springframework.core.io.Resource resource, K key, V value)
-
Field Details
-
KEY_VALUE_FORMAT
- See Also:
-
-
Constructor Details
-
PropertiesRewriter
public PropertiesRewriter()
-
-
Method Details
-
updateProperty
public static <K,V> void updateProperty(org.springframework.core.io.Resource resource, K key, V value) throws IOException - Throws:
IOException
-
removeProperty
public static <K> void removeProperty(org.springframework.core.io.Resource resource, K key) throws IOException - Throws:
IOException
-