Class BlobToFile
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.blob.BlobToFile
-
public class BlobToFile extends Object
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description BlobToFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected File
getFile(String name)
protected void
init()
protected boolean
isTargetDirectoryForbidden()
Blob
run(Blob blob)
protected void
writeFile(Blob blob)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
directory
protected String directory
-
prefix
protected String prefix
-
root
protected File root
-
-
Method Detail
-
init
protected void init()
-
isTargetDirectoryForbidden
protected boolean isTargetDirectoryForbidden()
-
writeFile
protected void writeFile(Blob blob) throws IOException
- Throws:
IOException
-
run
public Blob run(Blob blob) throws IOException, OperationException
- Throws:
IOException
OperationException
-
-