Class Instance
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstance()Creates a new Filter Instance, uninitialized.Creates a new Filter Instance with only source file mask specified, and default values for everything else.Instance(String sourceFilenameMask, @Nullable String sourceEncoding, @Nullable String targetEncoding) Creates a new Filter Instance with source file mask and two encodings specified, and having a default target filename pattern.Instance(String sourceFilenameMask, @Nullable String sourceEncoding, @Nullable String targetEncoding, String targetFilenamePattern) Creates a new instance of FilterInstance.Creates a new Filter Instance with source file mask and source encoding specified, and having a default target encoding and target filename pattern. -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable StringvoidsetSourceEncoding(@Nullable String sourceEncoding) voidsetSourceFilenameMask(String sourceFilenameMask) voidsetTargetEncoding(@Nullable String targetEncoding) voidsetTargetFilenamePattern(String targetFilenamePattern)
-
Constructor Details
-
Instance
public Instance(String sourceFilenameMask, @Nullable String sourceEncoding, @Nullable String targetEncoding, String targetFilenamePattern) Creates a new instance of FilterInstance.Value
nullfor source and target encoding means that the filter selects encodings automatically.Output (target) filename pattern cannot be null.
-
Instance
public Instance(String sourceFilenameMask, @Nullable String sourceEncoding, @Nullable String targetEncoding) Creates a new Filter Instance with source file mask and two encodings specified, and having a default target filename pattern.Value
nullfor source and target encoding means that the filter selects encodings automatically.The default output filename pattern is "${filename}", which means that the name of the translated file should be the same as the name of the input file.
-
Instance
Creates a new Filter Instance with source file mask and source encoding specified, and having a default target encoding and target filename pattern.Value
null(default value) for source encoding means that the filter selects encoding of the source file automatically.Default value for target encoding is
null, meaning that the filter selects encoding of the target file automatically.The default output filename pattern is "${filename}", which means that the name of the translated file should be the same as the name of the input file.
-
Instance
Creates a new Filter Instance with only source file mask specified, and default values for everything else.Default value for source and target encoding is
null, meaning that the filter selects encodings automatically.The default output filename pattern is "${filename}", which means that the name of the translated file should be the same as the name of the input file.
-
Instance
public Instance()Creates a new Filter Instance, uninitialized. Is here to support JavaBeans specification, don't use it in filters.
-
-
Method Details
-
getSourceFilenameMask
-
setSourceFilenameMask
-
getSourceEncodingHuman
-
getSourceEncoding
-
setSourceEncoding
-
getTargetEncodingHuman
-
getTargetEncoding
-
setTargetEncoding
-
getTargetFilenamePattern
-
setTargetFilenamePattern
-