public class FileAddOperation extends Object implements IAddOperation
| Constructor and Description |
|---|
FileAddOperation(File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the operation.
|
boolean |
equals(Object obj) |
InputStream |
getContentStream()
Gets the content as a stream
|
Properties |
getMetadata()
Gets the metadata.
|
int |
hashCode() |
String |
toString() |
public FileAddOperation(File file)
file - the file to be addedpublic void delete()
ICommitOperationdelete in interface ICommitOperationpublic Properties getMetadata()
IAddOperationgetMetadata in interface IAddOperationpublic InputStream getContentStream()
IAddOperationgetContentStream in interface IAddOperationCopyright © 2009-2014 Norconex Inc.. All Rights Reserved.