stevel 2002/06/23 18:40:18
Modified: src/main/org/apache/tools/ant/taskdefs/optional/i18n Tag:
ANT_15_BRANCH Translate.java
Log:
javadoc translate
Revision Changes Path
No revision
No revision
1.11.2.3 +13 -11
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
Index: Translate.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -u -r1.11.2.2 -r1.11.2.3
--- Translate.java 6 May 2002 12:08:18 -0000 1.11.2.2
+++ Translate.java 24 Jun 2002 01:40:18 -0000 1.11.2.3
@@ -157,63 +157,64 @@
private boolean loaded = false;
/**
- * Sets Family name of resource bundle
+ * Sets Family name of resource bundle; required.
*/
public void setBundle(String bundle) {
this.bundle = bundle;
}
/**
- * Sets locale specific language of resource bundle
+ * Sets locale specific language of resource bundle; optional.
*/
public void setBundleLanguage(String bundleLanguage) {
this.bundleLanguage = bundleLanguage;
}
/**
- * Sets locale specific country of resource bundle
+ * Sets locale specific country of resource bundle; optional.
*/
public void setBundleCountry(String bundleCountry) {
this.bundleCountry = bundleCountry;
}
/**
- * Sets locale specific variant of resource bundle
+ * Sets locale specific variant of resource bundle; optional.
*/
public void setBundleVariant(String bundleVariant) {
this.bundleVariant = bundleVariant;
}
/**
- * Sets Destination directory
+ * Sets Destination directory; required.
*/
public void setToDir(File toDir) {
this.toDir = toDir;
}
/**
- * Sets starting token to identify keys
+ * Sets starting token to identify keys; required.
*/
public void setStartToken(String startToken) {
this.startToken = startToken;
}
/**
- * Sets ending token to identify keys
+ * Sets ending token to identify keys; required.
*/
public void setEndToken(String endToken) {
this.endToken = endToken;
}
/**
- * Sets source file encoding scheme
+ * Sets source file encoding scheme; optional,
+ * defaults to encoding of local system.
*/
public void setSrcEncoding(String srcEncoding) {
this.srcEncoding = srcEncoding;
}
/**
- * Sets destination file encoding scheme. Defaults to source file
+ * Sets destination file encoding scheme; optional. Defaults to source
file
* encoding
*/
public void setDestEncoding(String destEncoding) {
@@ -221,7 +222,8 @@
}
/**
- * Sets Resource Bundle file encoding scheme
+ * Sets Resource Bundle file encoding scheme; optional. Defaults to
source file
+ * encoding
*/
public void setBundleEncoding(String bundleEncoding) {
this.bundleEncoding = bundleEncoding;
@@ -238,7 +240,7 @@
}
/**
- * Adds a set of files (nested fileset attribute).
+ * Adds a set of files to translate as a nested fileset element.
*/
public void addFileset(FileSet set) {
filesets.addElement(set);
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>