public static class OutputsMaterializer.FilesystemFileMaterializer extends Object implements ContentAddressedStorageClient.FileMaterializer
| Constructor and Description |
|---|
FilesystemFileMaterializer(Path root) |
| Modifier and Type | Method and Description |
|---|---|
WritableByteChannel |
getOutputChannel(Path path,
boolean executable)
Get a writable channel to the file at the provided path, marking it executable if
appropriate.
|
void |
makeDirectories(Path dirRoot)
Make the directory and all parent directories.
|
public FilesystemFileMaterializer(Path root)
public void makeDirectories(Path dirRoot) throws IOException
ContentAddressedStorageClient.FileMaterializermakeDirectories in interface ContentAddressedStorageClient.FileMaterializerIOExceptionpublic WritableByteChannel getOutputChannel(Path path, boolean executable) throws IOException
ContentAddressedStorageClient.FileMaterializergetOutputChannel in interface ContentAddressedStorageClient.FileMaterializerIOException