Package com.liferay.portal.kernel.util
Class UnicodePropertiesBuilder
Object
com.liferay.portal.kernel.util.BaseMapBuilder
com.liferay.portal.kernel.util.UnicodePropertiesBuilder
- Author:
- Hugo Huijser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Nested classes/interfaces inherited from class com.liferay.portal.kernel.util.BaseMapBuilder
BaseMapBuilder.UnsafeFunction<T,
R, E extends Throwable>, BaseMapBuilder.UnsafeSupplier<T, E extends Throwable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(boolean safe) put
(String key, BaseMapBuilder.UnsafeSupplier<String, Exception> valueUnsafeSupplier) setProperty
(String key, BaseMapBuilder.UnsafeSupplier<String, Exception> valueUnsafeSupplier) setProperty
(String key, String value)
-
Constructor Details
-
UnicodePropertiesBuilder
public UnicodePropertiesBuilder()
-
-
Method Details
-
create
-
create
public static UnicodePropertiesBuilder.UnicodePropertiesWrapper create(Map<String, String> map, boolean safe) -
fastLoad
-
load
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
public static UnicodePropertiesBuilder.UnicodePropertiesWrapper put(String key, BaseMapBuilder.UnsafeSupplier<String, Exception> valueUnsafeSupplier) -
putAll
public static UnicodePropertiesBuilder.UnicodePropertiesWrapper putAll(Map<? extends String, ? extends String> map) -
setProperty
public static UnicodePropertiesBuilder.UnicodePropertiesWrapper setProperty(String key, String value) -
setProperty
public static UnicodePropertiesBuilder.UnicodePropertiesWrapper setProperty(String key, BaseMapBuilder.UnsafeSupplier<String, Exception> valueUnsafeSupplier)
-