org.apache.mahout.utils.io
Class IOWriterWrapper

java.lang.Object
  extended by org.apache.mahout.utils.io.IOWriterWrapper
All Implemented Interfaces:
Closeable, WrappedWriter

public class IOWriterWrapper
extends Object
implements WrappedWriter


Constructor Summary
IOWriterWrapper(Writer writer)
           
 
Method Summary
 void close()
           
 void write(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOWriterWrapper

public IOWriterWrapper(Writer writer)
Method Detail

write

public void write(String key,
                  String value)
           throws IOException
Specified by:
write in interface WrappedWriter
Throws:
IOException

close

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


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.