magic-Dependency/zh_docs/us/codecraft/webmagic/model/HasKey-cmnt.xml

25 lines
847 B
XML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<javadoc>
<meta>
<date-generated>Sat Aug 17 14:14:46 CST 2013</date-generated>
</meta>
<comment>
<key><![CDATA[us.codecraft.webmagic.model.HasKey]]></key>
<data><![CDATA[ 标志一个Model的key。<br>
实现了这个接口的Model在输出时会使用getKey()作为标志(例如JsonFilePageModelPipeline中持久化的文件名)。<br>
如果持久化的文件名是乱码请再运行的环境变量里加上LANG=zh_CN.UTF-8 。<br>
@author code4crafter@gmail.com <br>
Date: 13-8-10 <br>
Time: 上午7:39 <br>
]]></data>
</comment>
<comment>
<key><![CDATA[us.codecraft.webmagic.model.HasKey.key()]]></key>
<data><![CDATA[ 在输出时会使用key作为标志(例如JsonFilePageModelPipeline中持久化的文件名)。
@return key
]]></data>
</comment>
</javadoc>