public interface ReplicationContentFactory
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this factory and releases all allocated resources.
|
ReplicationContent |
create(ReplicationContentFacade facade)
Creates the replication content based on a facade.
|
ReplicationContent |
create(String mimeType,
File file,
boolean isTemp)
Creates binary replication content for the given file.
|
ReplicationContent |
create(String mimeType,
File file,
long lastModified,
boolean isTemp)
Creates binary replication content for the given file.
|
ReplicationContent create(String mimeType, File file, boolean isTemp) throws IOException
mimeType - the mime type of the contentfile - the file containing the dataisTemp - if true file is temporary file and will be
removed after this call.IOException - if an error occursReplicationContent create(String mimeType, File file, long lastModified, boolean isTemp) throws IOException
mimeType - the mime type of the contentfile - the file containing the datalastModified - the last modified time in ms.isTemp - if true file is temporary file and will be
removed after this call.IOException - if an error occursReplicationContent create(ReplicationContentFacade facade)
facade - the facadevoid close()
Copyright © 2010 - 2020 Adobe. All Rights Reserved