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 void
close()
void
flush()
void
write(char[] buffer, int offset, int count)
void
write(String s)
-
-
-
Method Detail
-
write
public void write(char[] buffer, int offset, int count) throws IOException
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
public void write(String s) throws IOException
- Overrides:
write
in classWriter
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
-