Permalink
Browse files

fixing javadoc WRT character set

  • Loading branch information...
1 parent 13b8a5e commit bf1c432bad7d0f421ac8a8de25f51800660f04ab @ropalka ropalka committed Oct 31, 2012
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit bf1c432

Please sign in to comment.