Package | Description |
---|---|
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAAssetFile |
CMAAsset.Fields.Localized.getFile() |
CMAAssetFile |
CMAAsset.Fields.getFile(java.lang.String locale)
Return the localized file of this asset.
|
CMAAssetFile |
CMAAssetFile.setContentType(java.lang.String contentType)
Set what content type is stored in this asset.
|
CMAAssetFile |
CMAAssetFile.setFileName(java.lang.String fileName)
Set a filename to be used for identifying the file.
|
CMAAssetFile |
CMAAssetFile.setUploadFrom(CMALink uploadFrom)
Set a link to a Contentful Upload entry, to be used for processing the binary data from.
|
CMAAssetFile |
CMAAssetFile.setUploadUrl(java.lang.String upload)
Set a public accessible url to be used for processing the binary data from.
|
Modifier and Type | Method and Description |
---|---|
CMAAsset.Fields.Localized |
CMAAsset.Fields.Localized.setFile(CMAAssetFile value)
Change the localized version of the file.
|
CMAAsset.Fields |
CMAAsset.Fields.setFile(java.lang.String locale,
CMAAssetFile file)
Update or create a new file for this asset.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.