mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 19:35:31 -04:00
Merge pull request #860 from jscrdev/fixed-javadocs2
Added missing Javadocs for Java 21
This commit is contained in:
commit
d36066cf82
@ -25,6 +25,12 @@ Public Domain.
|
|||||||
*/
|
*/
|
||||||
public class CDL {
|
public class CDL {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new CDL object.
|
||||||
|
*/
|
||||||
|
public CDL() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the next value. The value can be wrapped in quotes. The value can
|
* Get the next value. The value can be wrapped in quotes. The value can
|
||||||
* be empty.
|
* be empty.
|
||||||
|
@ -15,6 +15,12 @@ Public Domain.
|
|||||||
*/
|
*/
|
||||||
public class Cookie {
|
public class Cookie {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new Cookie object.
|
||||||
|
*/
|
||||||
|
public Cookie() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Produce a copy of a string in which the characters '+', '%', '=', ';'
|
* Produce a copy of a string in which the characters '+', '%', '=', ';'
|
||||||
* and control characters are replaced with "%hh". This is a gentle form
|
* and control characters are replaced with "%hh". This is a gentle form
|
||||||
|
@ -11,6 +11,12 @@ Public Domain.
|
|||||||
*/
|
*/
|
||||||
public class CookieList {
|
public class CookieList {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new CookieList object.
|
||||||
|
*/
|
||||||
|
public CookieList() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a cookie list into a JSONObject. A cookie list is a sequence
|
* Convert a cookie list into a JSONObject. A cookie list is a sequence
|
||||||
* of name/value pairs. The names are separated from the values by '='.
|
* of name/value pairs. The names are separated from the values by '='.
|
||||||
|
@ -13,6 +13,12 @@ import java.util.Locale;
|
|||||||
*/
|
*/
|
||||||
public class HTTP {
|
public class HTTP {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new HTTP object.
|
||||||
|
*/
|
||||||
|
public HTTP() {
|
||||||
|
}
|
||||||
|
|
||||||
/** Carriage return/line feed. */
|
/** Carriage return/line feed. */
|
||||||
public static final String CRLF = "\r\n";
|
public static final String CRLF = "\r\n";
|
||||||
|
|
||||||
|
@ -13,6 +13,13 @@ Public Domain.
|
|||||||
* @version 2016-01-30
|
* @version 2016-01-30
|
||||||
*/
|
*/
|
||||||
public class JSONML {
|
public class JSONML {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new JSONML object.
|
||||||
|
*/
|
||||||
|
public JSONML() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse XML values and store them in a JSONArray.
|
* Parse XML values and store them in a JSONArray.
|
||||||
* @param x The XMLTokener containing the source string.
|
* @param x The XMLTokener containing the source string.
|
||||||
|
@ -42,6 +42,12 @@ public class JSONPointer {
|
|||||||
*/
|
*/
|
||||||
public static class Builder {
|
public static class Builder {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new Builder object.
|
||||||
|
*/
|
||||||
|
public Builder() {
|
||||||
|
}
|
||||||
|
|
||||||
// Segments for the eventual JSONPointer string
|
// Segments for the eventual JSONPointer string
|
||||||
private final List<String> refTokens = new ArrayList<String>();
|
private final List<String> refTokens = new ArrayList<String>();
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import java.lang.annotation.Target;
|
|||||||
@Target({METHOD})
|
@Target({METHOD})
|
||||||
public @interface JSONPropertyName {
|
public @interface JSONPropertyName {
|
||||||
/**
|
/**
|
||||||
|
* The value of the JSON property.
|
||||||
* @return The name of the property as to be used in the JSON Object.
|
* @return The name of the property as to be used in the JSON Object.
|
||||||
*/
|
*/
|
||||||
String value();
|
String value();
|
||||||
|
@ -13,6 +13,13 @@ import java.util.Properties;
|
|||||||
* @version 2015-05-05
|
* @version 2015-05-05
|
||||||
*/
|
*/
|
||||||
public class Property {
|
public class Property {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new Property object.
|
||||||
|
*/
|
||||||
|
public Property() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a property file object into a JSONObject. The property file object is a table of name value pairs.
|
* Converts a property file object into a JSONObject. The property file object is a table of name value pairs.
|
||||||
* @param properties java.util.Properties
|
* @param properties java.util.Properties
|
||||||
|
@ -24,6 +24,12 @@ import static org.json.NumberConversionUtil.stringToNumber;
|
|||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class XML {
|
public class XML {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new XML object.
|
||||||
|
*/
|
||||||
|
public XML() {
|
||||||
|
}
|
||||||
|
|
||||||
/** The Character '&'. */
|
/** The Character '&'. */
|
||||||
public static final Character AMP = '&';
|
public static final Character AMP = '&';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user