Package org.apache.tools.ant.util
Class Native2AsciiUtils
java.lang.Object
org.apache.tools.ant.util.Native2AsciiUtils
Contains helper methods for Ant's built-in implementation of native2ascii.
- Since:
- Ant 1.9.8
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stringascii2native(String line) Replaces Unicode-Escapes.static Stringnative2ascii(String line) Replaces non-ASCII characters with their Unicode-Escapes.
- 
Constructor Details- 
Native2AsciiUtilspublic Native2AsciiUtils()
 
- 
- 
Method Details- 
native2asciiReplaces non-ASCII characters with their Unicode-Escapes.Expects to be called once per line if applied to a file. - Parameters:
- line- the input line
- Returns:
- the translated line
 
- 
ascii2nativeReplaces Unicode-Escapes.Expects to be called once per line if applied to a file. - Parameters:
- line- the input line
- Returns:
- the translated line
 
 
-