MANSCDPUtils.Builder

支持 自定义 字符串编码
默认为 GB28181 默认 GB2312 编码
This commit is contained in:
shikong 2023-09-25 00:15:22 +08:00
parent 3f6b28350a
commit b443e720b3

View File

@ -43,7 +43,7 @@ public class MANSCDPTest {
.build();
log.info("\n{}", MANSCDPUtils.toXml(catalogQueryDTO));
MANSCDPUtils.XMLBuilder<CatalogQueryDTO> query = new MANSCDPUtils.XMLBuilder(catalogQueryDTO);
MANSCDPUtils.XMLBuilder<CatalogQueryDTO> query = new MANSCDPUtils.XMLBuilder<>(catalogQueryDTO);
String serialize = MANSCDPUtils.toXml(query);
log.info("\n{}", serialize);