forked from I2P_Developers/i2p.i2p
Javadoc fixes
NDT log tweaks
This commit is contained in:
@ -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| => |a|,|b|,|c|
|
||||
* |:| => ||,||
|
||||
* |a:| => |a|,||
|
||||
* @author FangYidong fangyidong@yahoo.com.cn
|
||||
*/
|
||||
public class ItemList {
|
||||
private String sp=",";
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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{
|
||||
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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 {
|
||||
/**
|
||||
|
@ -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);
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user