Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Java.SetContainerFileName

Sets the container file name to use for next containers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Java 6.5 Yes Yes Yes Yes No

MBS( "Java.SetContainerFileName"; FileName )

Parameters

Parameter Description Example value
FileName The file name to use for container. "test.jpg"

Result

Returns OK or error.

Description

Sets the container file name to use for next containers.
When a function call to Java returns a ByteArray, we pack it into a container using this file name.
The file name than determentss for FileMaker the type of file.

Examples

Set file name:

MBS( "Java.SetContainerFileName"; "Logo.jpg" )

See also

Example Databases


Java.ReleaseAll   -   Java.SetObjectField

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins