public final class TaskOutputStreamProviderLocal extends TaskOutputStreamProvider
TaskOutputStreamProvider
.
It provides FileOutputStreams on the local file system.Modifier and Type | Method and Description |
---|---|
void |
close()
release resources.
|
DataOutputStream |
create(String name)
create a file output stream using the given name.
|
public DataOutputStream create(String name) throws IOException
name
- name of the created output stream
It is used as the name of the directory if the created output stream is a file output streamIOException
public void close() throws IOException
OutputStreamProvider
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.