我正在从事的一个项目是一个c/s的导数据部分。
现在需要把数据导入导出, 我用了如下设计。
DBCompositor interface
PartTable interface
Command interface
CommandFactory
CommandFactoryImpl
对于每一个表实现 PartTable和Command
现在需要把数据导入导出, 我用了如下设计。
DBCompositor interface
PartTable interface
Command interface
CommandFactory
CommandFactoryImpl
对于每一个表实现 PartTable和Command
博主在C/S项目的导数据部分,需进行数据导入导出操作,采用了特定设计,包括DBCompositor、PartTable、Command、CommandFactory等接口,还针对每个表实现了PartTable和Command。
1万+





