-
- All Implemented Interfaces:
-
icu.windea.breezeframework.serialization.serializer.DataSerializer,icu.windea.breezeframework.serialization.serializer.Serializer
public interface PropertiesSerializer implements DataSerializer
Properties的序列化器。
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPropertiesSerializer.Default默认的Properties的序列化器。
可以由第三方库委托实现,基于classpath进行推断,或者使用由Breeze Framework实现的序列化器。
-
Method Summary
Modifier and Type Method Description abstract <T extends Any> PropertiesserializeProperties(T target)序列化指定属性对象。 abstract <T extends Any> TdeserializeProperties(Properties properties, Class<T> type)反序列化指定属性对象。 abstract <T extends Any> TdeserializeProperties(Properties properties, Type type)反序列化指定属性对象。 DataFormatgetDataFormat()-
-
Method Detail
-
serializeProperties
abstract <T extends Any> Properties serializeProperties(T target)
序列化指定属性对象。
-
deserializeProperties
abstract <T extends Any> T deserializeProperties(Properties properties, Class<T> type)
反序列化指定属性对象。
-
deserializeProperties
abstract <T extends Any> T deserializeProperties(Properties properties, Type type)
反序列化指定属性对象。
-
getDataFormat
DataFormat getDataFormat()
-
-
-
-