To ensure that the correct feed reader implementation is used, you also create a factory class that provides the appropriate feed reader based on your eventual desired output format.
要确保使用了正确的提要读取器实现,还要创建一个工厂类,基于最终所需的输出格式提供适当的提要阅读器。
The ButterflyFactory class reads this configuration file format and ACTS as a factory for Butterfly objects (see Listing 9).
ButterflyFactory类读取该配置文件的格式,并充当Butterfly对象的工厂类(参见清单9)。
The ButterflyFactory class reads this configuration file format and ACTS as a factory for Butterfly objects (see Listing 9).
ButterflyFactory类读取该配置文件的格式,并充当Butterfly对象的工厂类(参见清单9)。
应用推荐