Package org.nuxeo.drive.operations
Class NuxeoDriveCreateFile
- java.lang.Object
-
- org.nuxeo.drive.operations.NuxeoDriveCreateFile
-
public class NuxeoDriveCreateFile extends Object
Creates a document from the input blob in the container backing theFileSystemItem
with the given id.- Author:
- Antoine Taillefer
-
-
Constructor Summary
Constructors Constructor Description NuxeoDriveCreateFile()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
parentId
protected String parentId
-
overwrite
protected boolean overwrite
- Since:
- 9.1
-
-
Method Detail
-
run
public Blob run(Blob blob) throws javax.mail.internet.ParseException, IOException
- Throws:
javax.mail.internet.ParseException
IOException
-
-