- All Implemented Interfaces:
ExternalFile with textual content.
If you want the user to be able to specify localized versions of a text file for a single property,
you can declare the property to be of type
you have to initialize the field with an instance rather than leave it to be
In the install4j IDE, the user will be presented with a dialog that allows file selection for all
installer languages that are configured on the General Settings->Languages tab. At runtime, call
Context.getExternalFile(LocalizedExternalFile, boolean) to
get the actual file for further use in your bean implementation.
In your bean info, use the
FilePropertyDescriptor class to
register the property. All attributes of
FilePropertyDescriptor are supported
getLanguageIdToExternalFileReturns the map from language IDs to
ExternalFiles. You do not have to use this method, a more convenient way to retrieve the actual file at runtime is to call
- the map
setLanguageIdToExternalFileSets the map from language IDs to
ExternalFiles. This method is called by the install4j IDE.
languageIdToExternalFile- the map
equalspublic boolean equals
hashCodepublic int hashCode()