Method Summary |
|
public String[] | mapFileName(String sourceFileName) Returns null if the source file name doesn't match the
"from" pattern, an one-element array containing the
translated file otherwise. |
protected String | replaceReferences(String source) Replace all backreferences in the to pattern with the matched
groups of the source.
Parameters: source - the source file name. |
public void | setCaseSensitive(boolean caseSensitive) Attribute specifing whether to ignore the case difference
in the names. |
public void | setFrom(String from) Sets the "from" pattern. |
public void | setHandleDirSep(boolean handleDirSep) Attribute specifing whether to ignore the difference
between / and \ (the two common directory characters). |
public void | setTo(String to) Sets the "to" pattern. |