Javadoc fixes

NDT log tweaks
This commit is contained in:
zzz
2018-12-04 20:34:51 +00:00
parent 7c5162e155
commit 177f595f33
15 changed files with 30 additions and 32 deletions

View File

@ -9,10 +9,10 @@ import java.util.List;
import java.util.StringTokenizer;
/**
* |a:b:c| => |a|,|b|,|c|
* |:| => ||,||
* |a:| => |a|,||
* @author FangYidong<fangyidong@yahoo.com.cn>
* |a:b:c| =&gt; |a|,|b|,|c|
* |:| =&gt; ||,||
* |a:| =&gt; |a|,||
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class ItemList {
private String sp=",";

View File

@ -14,7 +14,7 @@ import java.util.List;
/**
* A JSON array. JSONObject supports java.util.List interface.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class JSONArray extends ArrayList implements List, JSONAware, JSONStreamAware {
private static final long serialVersionUID = 3957988303675231981L;

View File

@ -2,7 +2,7 @@ package org.json.simple;
/**
* Beans that support customized output of JSON text shall implement this interface.
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public interface JSONAware {
/**

View File

@ -13,7 +13,7 @@ import java.util.Map;
/**
* A JSON object. Key value pairs are unordered. JSONObject supports java.util.Map interface.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{

View File

@ -5,7 +5,7 @@ import java.io.Writer;
/**
* Beans that support customized output of JSON text to a writer shall implement this interface.
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public interface JSONStreamAware {
/**

View File

@ -16,7 +16,7 @@ import org.json.simple.parser.ParseException;
/**
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class JSONValue {
/**

View File

@ -8,7 +8,7 @@ import java.util.Map;
*
* @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory)
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public interface ContainerFactory {
/**

View File

@ -8,7 +8,7 @@ import java.io.IOException;
* @see org.xml.sax.ContentHandler
* @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContentHandler, boolean)
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public interface ContentHandler {
/**

View File

@ -18,7 +18,7 @@ import org.json.simple.JSONObject;
/**
* Parser for JSON text. Please note that JSONParser is NOT thread-safe.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class JSONParser {
public static final int S_INIT=0;
@ -56,8 +56,6 @@ public class JSONParser {
* Reset the parser to the initial state with a new character reader.
*
* @param in - The new character reader.
* @throws IOException
* @throws ParseException
*/
public void reset(Reader in){
lexer.yyreset(in);

View File

@ -3,7 +3,7 @@ package org.json.simple.parser;
/**
* ParseException explains why and where the error occurs in source JSON text.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*
*/
public class ParseException extends Exception {

View File

@ -5,7 +5,7 @@
package org.json.simple.parser;
/**
* @author FangYidong<fangyidong@yahoo.com.cn>
* @author FangYidong fangyidong@yahoo.com.cn
*/
public class Yytoken {
public static final int TYPE_VALUE=0;//JSON primitive value: string,number,boolean,null