From fba69d5f2cf01afcd833273b05b912e12b31b936 Mon Sep 17 00:00:00 2001 From: wentch <22250530@qq.com> Date: Wed, 6 Jan 2016 14:30:13 +0800 Subject: [PATCH] --- convert.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/convert.html b/convert.html index 8e0a62754..cbd2615c6 100644 --- a/convert.html +++ b/convert.html @@ -32,28 +32,28 @@

      本介绍仅以JSON为例(BSON与JSON使用方式雷同)。其操作类主要是JsonConvert,配置类主要是JsonFactory、ConvertColumn。JsonFactory采用同ClassLoader类似的双亲委托方式设计。

      JsonConvert 序列化encode方法:

-
    public String convertTo(Object value);
+            
    public String convertTo(final Object value);
 
-    public String convertTo(final Type type, Object value);
+    public String convertTo(final Type type, final Object value);
 
-    public void convertTo(final OutputStream out, Object value);
+    public void convertTo(final OutputStream out, final Object value);
 
-    public void convertTo(final OutputStream out, final Type type, Object value);
+    public void convertTo(final OutputStream out, final Type type, final Object value);
 
-    public ByteBuffer[] convertTo(final java.util.function.Supplier<ByteBuffer> supplier, Object value);
+    public ByteBuffer[] convertTo(final java.util.function.Supplier<ByteBuffer> supplier, final Object value);
 
-    public ByteBuffer[] convertTo(final java.util.function.Supplier<ByteBuffer> supplier, final Type type, Object value);
+    public ByteBuffer[] convertTo(final java.util.function.Supplier<ByteBuffer> supplier, final Type type, final Object value);
 
-    public void convertTo(final JsonWriter writer, Object value);
+    public void convertTo(final JsonWriter writer, final Object value);
 
-    public void convertTo(final JsonWriter writer, final Type type, Object value);
+ public void convertTo(final JsonWriter writer, final Type type, final Object value);

      JsonConvert 反解析decode方法:

    public <T> T convertFrom(final Type type, final String text);
 
     public <T> T convertFrom(final Type type, final char[] text);
 
-    public <T> T convertFrom(final Type type, final char[] text, int start, int len);
+    public <T> T convertFrom(final Type type, final char[] text, final int start, final int len);
 
     public <T> T convertFrom(final Type type, final ByteBuffer... buffers);