|Modifier and Type||Class and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
This tries to create a file based on the
public OutputStream getOutputStream(Metadata metadata) throws IOException
FSUtil.HANDLE_EXISTINGvalue that was passed in during initialization.
handleExisting is set to "SKIP" and the output file already exists,
this will return null.
If an output file can be found, this will try to mkdirs for that output file. If mkdirs() fails, this will throw an IOException.
Finally, this will open an output stream for the appropriate output file.
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.