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.FileMaterializer
makeDirectories
in interface ContentAddressedStorageClient.FileMaterializer
IOException
public WritableByteChannel getOutputChannel(Path path, boolean executable) throws IOException
ContentAddressedStorageClient.FileMaterializer
getOutputChannel
in interface ContentAddressedStorageClient.FileMaterializer
IOException