Package com.cedarsoftware.util.io
Class Writers
- java.lang.Object
-
- com.cedarsoftware.util.io.Writers
-
public class Writers extends Object
All custom writers for json-io subclass this class. Special writers are not needed for handling user-defined classes. However, special writers are built/supplied by json-io for many of the primitive types and other JDK classes simply to allow for a more concise form.- Author:
- John DeRegnaucourt ([email protected])
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.*
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWriters.AtomicBooleanWriterstatic classWriters.AtomicIntegerWriterstatic classWriters.AtomicLongWriterstatic classWriters.BigDecimalWriterstatic classWriters.BigIntegerWriterstatic classWriters.CalendarWriterstatic classWriters.ClassWriterstatic classWriters.DateWriterstatic classWriters.JsonStringWriterstatic classWriters.LocaleWriterstatic classWriters.StringBufferWriterstatic classWriters.StringBuilderWriterstatic classWriters.TimestampWriterstatic classWriters.TimeZoneWriter
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidwriteJsonUtf8String(String s, Writer output)
-
-
-
Method Detail
-
writeJsonUtf8String
protected static void writeJsonUtf8String(String s, Writer output) throws IOException
- Throws:
IOException
-
-