Modifier and Type | Field and Description |
---|---|
pack-priv static final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public final boolean | convert(Native2Ascii
Task that holds command line arguments and allows
the implementation to send messages to Ant's logging system args, File the source to convert srcFile, File where to send output to destFile)Implements org. |
private BufferedReader | |
private Writer | |
private void |
IMPLEMENTATION_NAME | back to summary |
---|---|
pack-priv static final String IMPLEMENTATION_NAME |
BuiltinNative2Ascii | back to summary |
---|---|
public BuiltinNative2Ascii() |
convert | back to summary |
---|---|
public final boolean convert(Native2Ascii args, File srcFile, File destFile) throws BuildException Implements org. Doc from org. Convert the encoding of srcFile writing to destFile.
|
getReader | back to summary |
---|---|
private BufferedReader getReader(File srcFile, String encoding, boolean reverse) throws IOException |
getWriter | back to summary |
---|---|
private Writer getWriter(File destFile, String encoding, boolean reverse) throws IOException |
translate | back to summary |
---|---|
private void translate(BufferedReader input, Writer output, UnaryOperator<String> translation) throws IOException |