Package org.jclouds.json.internal
Class NullHackJsonLiteralAdapter.NullReplacingWriter
- java.lang.Object
 - 
- java.io.Writer
 - 
- org.jclouds.json.internal.NullHackJsonLiteralAdapter.NullReplacingWriter
 
 
 
- 
- All Implemented Interfaces:
 Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
 - NullHackJsonLiteralAdapter<L>
 
public static final class NullHackJsonLiteralAdapter.NullReplacingWriter extends Writer
 
- 
- 
Constructor Summary
Constructors Constructor Description NullReplacingWriter(Writer delegate, String nullReplacement) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] buffer, int offset, int count)voidwrite(String s) 
 - 
 
- 
- 
Method Detail
- 
write
public void write(char[] buffer, int offset, int count) throws IOException- Specified by:
 writein classWriter- Throws:
 IOException
 
- 
write
public void write(String s) throws IOException
- Overrides:
 writein classWriter- Throws:
 IOException
 
- 
flush
public void flush() throws IOException- Specified by:
 flushin interfaceFlushable- Specified by:
 flushin classWriter- Throws:
 IOException
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Specified by:
 closein classWriter- Throws:
 IOException
 
 - 
 
 -