Interface ExportableDataContent

All Superinterfaces:
DataContent
All Known Implementing Classes:
AbstractExportableDataContent

public interface ExportableDataContent extends DataContent
An extension of DataContent that provides export capabilities in different modes.

This interface is intended for data sources that support not only raw binary streaming but also platform-specific script export, such as Bash or Windows CMD. The export mode determines how the underlying content is transformed or wrapped.

Typical use cases include:

  • Uploading images or data directly to a remote server (RAW mode)
  • Generating self-contained Bash scripts that embed the encoded data (BASH_SCRIPT mode)
  • Generating CMD scripts for use on Windows systems (CMD_SCRIPT mode)

Implementations are responsible for adapting the content to the selected ExportMode.

See Also: