构造器和说明 |
---|
DefaultOutputter() |
public void init(Path path, Configuration conf) throws IOException
Outputter
Outputter
to a specific path.init
在接口中 Outputter<T>
path
- The Path
to the output file.conf
- ConfigurationIOException
public void output(T object) throws IOException
Outputter
output
在接口中 Outputter<T>
object
- The objecte.IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
IOException
Copyright © 2009 The Apache Software Foundation