@InterfaceAudience.Private public static class FSOperations.FSOpen extends Object implements FileSystemAccess.FileSystemExecutor<InputStream>
| Constructor and Description |
|---|
FSOpen(String path)
Creates a open executor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
execute(FileSystem fs)
Executes the filesystem operation.
|
public FSOpen(String path)
path - file to open.public InputStream execute(FileSystem fs) throws IOException
execute in interface FileSystemAccess.FileSystemExecutor<InputStream>fs - filesystem instance to use.IOException - thrown if an IO error occured.Copyright © 2018 CERN. All Rights Reserved.