public class BlobToFile extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OperationContext |
ctx |
protected String |
directory |
static String |
ID |
protected String |
prefix |
protected File |
root |
| Constructor and Description |
|---|
BlobToFile() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getFile(String name) |
protected void |
init() |
protected boolean |
isTargetDirectoryForbidden() |
Blob |
run(Blob blob) |
protected void |
writeFile(Blob blob) |
public static final String ID
protected OperationContext ctx
public BlobToFile()
protected void init()
protected boolean isTargetDirectoryForbidden()
protected void writeFile(Blob blob) throws IOException
IOExceptionpublic Blob run(Blob blob) throws IOException, OperationException
IOExceptionOperationExceptionCopyright © 2019 Nuxeo. All rights reserved.