Package de.ddb.charset

Examples of de.ddb.charset.PicaCharset


        // Fachbereiche Architektur, St�dtebau und Bauingenieurwesen
        // hUniversit�t Gesamthochschule Siegen 045U a960 046C aMitteilungen
        // 047B aC c89! 101@ a12 \n";
        StringBuffer record = new StringBuffer();
        Reader in = new BufferedReader(new InputStreamReader(new FileInputStream("test/input/02499250X.pp"),
                new PicaCharset()));
        Writer out = new OutputStreamWriter(new FileOutputStream(
                "test/output/FcvConverterTest.test.dat"), "UTF-8");
        int i;
        while ((i = in.read()) != '\n') {
            record.append((char) i);
View Full Code Here


    remoteExec.setPassword("hads%szl");
    remoteExec.setEnvironmentProperties(properties);
    StringWriter writer = new StringWriter();
    Reader reader = new BufferedReader(new InputStreamReader(
        new FileInputStream("test/input/02499250X.pp"),
        new PicaCharset()));
    // StringBuffer buffer = new StringBuffer();
    // int i;
    // while((i=reader.read())!=-1) {
    // buffer.append((char)i);
    // }
    // buffer.append("\n");
    // StringReader reader2 = new StringReader(buffer.toString());
    remoteExec.remoteExec(reader, writer, new PicaCharset(), Charset
        .forName("UTF-8"), null, null);

    logger.info("output2: " + writer.toString());
  }
View Full Code Here

TOP

Related Classes of de.ddb.charset.PicaCharset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.