org.jclouds.json.internal
Class NullHackJsonLiteralAdapter.NullReplacingWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.jclouds.json.internal.NullHackJsonLiteralAdapter.NullReplacingWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Enclosing class:
NullHackJsonLiteralAdapter<L>

public final class NullHackJsonLiteralAdapter.NullReplacingWriter
extends Writer


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
NullHackJsonLiteralAdapter.NullReplacingWriter(Writer delegate, String nullReplacement)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] buffer, int offset, int count)
           
 void write(String s)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullHackJsonLiteralAdapter.NullReplacingWriter

public NullHackJsonLiteralAdapter.NullReplacingWriter(Writer delegate,
                                                      String nullReplacement)
Method Detail

write

public void write(char[] buffer,
                  int offset,
                  int count)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

write

public void write(String s)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in class Writer
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class Writer
Throws:
IOException


Copyright © 2009-2013 jclouds. All Rights Reserved.