Package org.omegat.convert.v20to21.data
Class Instance
- java.lang.Object
-
- org.omegat.convert.v20to21.data.Instance
-
public class Instance extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ENCODING_AUTO_HUMAN
This value represents to the user that the encoding is determined by the filter itself.static java.lang.String
TARGET_DEFAULT
The default output filename pattern.static java.lang.String
TFP_FILENAME
The original filename (with extension).
-
Constructor Summary
Constructors Constructor Description Instance()
Creates a new Filter Instance, uninitialized.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
ENCODING_AUTO_HUMAN
public static final java.lang.String ENCODING_AUTO_HUMAN
This value represents to the user that the encoding is determined by the filter itself. "In code" thenull
is used to represent automatic encoding selection.
-
TFP_FILENAME
public static final java.lang.String TFP_FILENAME
The original filename (with extension).- See Also:
- Constant Field Values
-
TARGET_DEFAULT
public static final java.lang.String TARGET_DEFAULT
The default output filename pattern.It is equal to "${filename}", which means that the name of the translated file should be the same as the name of the input file.
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSourceFilenameMask
public java.lang.String getSourceFilenameMask()
-
setSourceFilenameMask
public void setSourceFilenameMask(java.lang.String sourceFilenameMask)
-
getSourceEncodingHuman
public java.lang.String getSourceEncodingHuman()
-
getSourceEncoding
public java.lang.String getSourceEncoding()
-
setSourceEncoding
public void setSourceEncoding(java.lang.String sourceEncoding)
-
getTargetEncodingHuman
public java.lang.String getTargetEncodingHuman()
-
getTargetEncoding
public java.lang.String getTargetEncoding()
-
setTargetEncoding
public void setTargetEncoding(java.lang.String targetEncoding)
-
getTargetFilenamePattern
public java.lang.String getTargetFilenamePattern()
-
setTargetFilenamePattern
public void setTargetFilenamePattern(java.lang.String targetFilenamePattern)
-
-