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()
ICommitOperation
delete
in interface ICommitOperation
public Properties getMetadata()
IAddOperation
getMetadata
in interface IAddOperation
public InputStream getContentStream()
IAddOperation
getContentStream
in interface IAddOperation
Copyright © 2009-2014 Norconex Inc.. All Rights Reserved.