public class FileAddOperation extends Object implements IAddOperation
Constructor and Description |
---|
FileAddOperation(File refFile)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes the operation.
|
boolean |
equals(Object obj) |
InputStream |
getContentStream()
Gets the content as a stream
|
com.norconex.commons.lang.map.Properties |
getMetadata()
Gets the metadata.
|
String |
getReference()
Gets the document reference.
|
int |
hashCode() |
String |
toString() |
public FileAddOperation(File refFile)
refFile
- the reference file to be addedpublic String getReference()
IAddOperation
getReference
in interface IAddOperation
public void delete()
ICommitOperation
delete
in interface ICommitOperation
public com.norconex.commons.lang.map.Properties getMetadata()
IAddOperation
getMetadata
in interface IAddOperation
public InputStream getContentStream()
IAddOperation
getContentStream
in interface IAddOperation
Copyright © 2009–2020 Norconex Inc.. All rights reserved.