Lines Matching defs:encoding

41             + "-encoding:   +> = \n"
61 props.put("-encoding:", "UTF8"); // default
69 String encoding = props.get("-encoding:");
96 BufferedReader files = makeReader(fin, encoding);
98 doFile(file, source, dest, options, encoding, contError);
108 doJar(a, source, dest, options, encoding, contError);
110 doFile(a, source, dest, options, encoding, contError);
121 ClassReader options, String encoding,
124 doFile(a, source, dest, options, encoding);
127 doFile(a, source, dest, options, encoding);
135 String encoding, Boolean contError) throws IOException {
143 doStream(name, jf.getInputStream(je), dest, options, encoding);
155 ClassReader options, String encoding) throws IOException {
177 Writer outw = makeWriter(out, encoding);
193 ClassReader options, String encoding) throws IOException {
201 doStream(a, in, dest, options, encoding);
205 public static BufferedReader makeReader(InputStream in, String encoding) throws IOException {
206 // encoding in DEFAULT, '', UTF8, 8BIT, , or any valid encoding name
207 if (encoding.equals("8BIT")) {
208 encoding = EIGHT_BIT_CHAR_ENCODING;
210 if (encoding.equals("UTF8")) {
211 encoding = UTF8_ENCODING;
213 if (encoding.equals("DEFAULT")) {
214 encoding = null;
216 if (encoding.equals("-")) {
217 encoding = null;
221 if (encoding == null) {
224 inw = new InputStreamReader(in, encoding);
229 public static Writer makeWriter(OutputStream out, String encoding) throws IOException {
230 // encoding in DEFAULT, '', UTF8, 8BIT, , or any valid encoding name
231 if (encoding.equals("8BIT")) {
232 encoding = EIGHT_BIT_CHAR_ENCODING;
234 if (encoding.equals("UTF8")) {
235 encoding = UTF8_ENCODING;
237 if (encoding.equals("DEFAULT")) {
238 encoding = null;
240 if (encoding.equals("-")) {
241 encoding = null;
244 if (encoding == null) {
247 outw = new OutputStreamWriter(out, encoding);