public interface IResourceWriter
Allows an object to participate in the storing of resource- based properties.
Methods
Name | Description |
---|---|
persistProperties() | Forces all properties to be written to disk. |
setBoolean(Locale locale, String name, boolean value) | Sets the value of a given property for a specific locale. |
setByte(Locale locale, String name, byte value) | Sets the value of a given property for a specific locale. |
setChar(Locale locale, String name, char value) | Sets the value of a given property for a specific locale. |
setDouble(Locale locale, String name, double value) | Sets the value of a given property for a specific locale. |
setFileLocation(String rootDirectory, String baseName) | Sets the root directory and baseName for the files. |
setFloat(Locale locale, String name, float value) | Sets the value of a given property for a specific locale. |
setInt(Locale locale, String name, int value) | Sets the value of a given property for a specific locale. |
setLong(Locale locale, String name, long value) | Sets the value of a given property for a specific locale. |
setObject(Locale locale, String name, Object value) | Sets the value of a given property for a specific locale. |
setShort(Locale locale, String name, short value) | Sets the value of a given property for a specific locale. |
setString(Locale locale, String name, String value) | Sets the value of a given property for a specific locale. |
Forces all properties to be written to disk.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the root directory and baseName for the files.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.
Sets the value of a given property for a specific locale. If the locale is null, the data is assumed to be for any locale and should be stored in the default resource file.