Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing javadoc WRT character set

  • Loading branch information...
commit bf1c432bad7d0f421ac8a8de25f51800660f04ab 1 parent 13b8a5e
Rio ropalka authored
2  modules/api/src/main/java/org/fossnova/json/JsonArray.java
View
@@ -288,7 +288,7 @@
void writeTo( Writer output ) throws IOException, JsonException;
/**
- * Serializes this JSON array to the stream using default character set.
+ * Serializes this JSON array to the stream using <code>UTF-8</code> character set.
* @param output to write to
* @throws IOException if some I/O error occurs
* @throws JsonException if wrong JSON is detected
2  modules/api/src/main/java/org/fossnova/json/JsonObject.java
View
@@ -137,7 +137,7 @@
void writeTo( Writer output ) throws IOException, JsonException;
/**
- * Serializes this JSON object to the stream using default character set.
+ * Serializes this JSON object to the stream using <code>UTF-8</code> character set.
* @param output to write to
* @throws IOException if some I/O error occurs
* @throws JsonException if wrong JSON is detected
4 modules/api/src/main/java/org/fossnova/json/JsonValueFactory.java
View
@@ -120,7 +120,7 @@ public static JsonValueFactory newInstance() {
public abstract JsonValue readFrom( String input ) throws IOException, JsonException;
/**
- * Creates either JSON array or object instance.
+ * Creates either JSON array or object instance using <code>UTF-8</code> character set.
* @param input to read JSON from
* @return JSON array or object instance
* @throws IOException if some I/O error occurs
@@ -129,7 +129,7 @@ public static JsonValueFactory newInstance() {
public abstract JsonValue readFrom( InputStream input ) throws IOException, JsonException;
/**
- * Creates either JSON array or object instance.
+ * Creates either JSON array or object instance using specified character set.
* @param data JSON available via input stream
* @param charset character set
* @return JSON array or object instance
6 modules/api/src/main/java/org/fossnova/json/stream/JsonStreamFactory.java
View
@@ -69,21 +69,21 @@ public static JsonStreamFactory newInstance() {
public abstract JsonWriter newJsonWriter( Writer writer );
/**
- * Creates new JSON reader with default character set.
+ * Creates new JSON reader with <code>UTF-8</code> character set.
* @param stream input
* @return JSON reader instance
*/
public abstract JsonReader newJsonReader( InputStream stream );
/**
- * Creates new JSON writer with default character set.
+ * Creates new JSON writer with <code>UTF-8</code> character set.
* @param stream output
* @return JSON writer instance
*/
public abstract JsonWriter newJsonWriter( OutputStream stream );
/**
- * Creates new JSON reader with specified character set.
+ * Creates new JSON reader with specified character set.
* @param stream input
* @param charset character set
* @return JSON reader instance
Please sign in to comment.
Something went wrong with that request. Please try again.