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(java.lang.String mimeType,
java.io.File file,
boolean isTemp)
Creates binary replication content for the given file.
|
ReplicationContent |
create(java.lang.String mimeType,
java.io.File file,
long lastModified,
boolean isTemp)
Creates binary replication content for the given file.
|
ReplicationContent create(java.lang.String mimeType, java.io.File file, boolean isTemp) throws java.io.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.java.io.IOException
- if an error occursReplicationContent create(java.lang.String mimeType, java.io.File file, long lastModified, boolean isTemp) throws java.io.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.java.io.IOException
- if an error occursReplicationContent create(ReplicationContentFacade facade)
facade
- the facadevoid close()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"