public class Instance
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Instance()
Creates a new Filter Instance, uninitialized.
|
Instance(java.lang.String sourceFilenameMask)
Creates a new Filter Instance with only source file mask specified, and
default values for everything else.
|
Instance(java.lang.String sourceFilenameMask,
java.lang.String sourceEncoding)
Creates a new Filter Instance with source file mask and source encoding
specified, and having a default target encoding and target filename
pattern.
|
Instance(java.lang.String sourceFilenameMask,
java.lang.String sourceEncoding,
java.lang.String targetEncoding)
Creates a new Filter Instance with source file mask and two encodings
specified, and having a default target filename pattern.
|
Instance(java.lang.String sourceFilenameMask,
java.lang.String sourceEncoding,
java.lang.String targetEncoding,
java.lang.String targetFilenamePattern)
Creates a new instance of FilterInstance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSourceEncoding() |
java.lang.String |
getSourceEncodingHuman() |
java.lang.String |
getSourceFilenameMask() |
java.lang.String |
getTargetEncoding() |
java.lang.String |
getTargetEncodingHuman() |
java.lang.String |
getTargetFilenamePattern() |
void |
setSourceEncoding(java.lang.String sourceEncoding) |
void |
setSourceFilenameMask(java.lang.String sourceFilenameMask) |
void |
setTargetEncoding(java.lang.String targetEncoding) |
void |
setTargetFilenamePattern(java.lang.String targetFilenamePattern) |
public Instance(java.lang.String sourceFilenameMask, java.lang.String sourceEncoding, java.lang.String targetEncoding, java.lang.String targetFilenamePattern)
Value null
for source and target encoding means that the
filter selects encodings automatically.
Output (target) filename pattern cannot be null.
public Instance(java.lang.String sourceFilenameMask, java.lang.String sourceEncoding, java.lang.String targetEncoding)
Value null
for 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.
public Instance(java.lang.String sourceFilenameMask, java.lang.String sourceEncoding)
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.
public Instance(java.lang.String sourceFilenameMask)
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.
public Instance()
public java.lang.String getSourceFilenameMask()
public void setSourceFilenameMask(java.lang.String sourceFilenameMask)
public java.lang.String getSourceEncodingHuman()
public java.lang.String getSourceEncoding()
public void setSourceEncoding(java.lang.String sourceEncoding)
public java.lang.String getTargetEncodingHuman()
public java.lang.String getTargetEncoding()
public void setTargetEncoding(java.lang.String targetEncoding)
public java.lang.String getTargetFilenamePattern()
public void setTargetFilenamePattern(java.lang.String targetFilenamePattern)