[2564] in java-interest

home help back first fref pref prev next nref lref last post

Re: CEFormatError ...why?

daemon@ATHENA.MIT.EDU (Chuck McManis)
Wed Oct 4 18:43:18 1995

Date: Wed, 4 Oct 1995 10:08:14 -0700
From: cmcmanis@scndprsn.eng.sun.com (Chuck McManis)
To: java-interest@java.Eng.Sun.COM,
        pfu.fujitsu.co.jp!satoo@fujitsuI.fujitsu.com


UUDecoder expects a single string, not an array of strings. So you
should declare it this way:

>    static String uudata =
>	"begin 664 extracted\n"+
>	"M/$A434P^\"CQ(14%$/@H\\5$E43$4^=&5S=\"!F;W(@97AT<F%C=\"!D871A/\"]4\n"+
>	"M251,13X*/\"](14%$/@H\\0D]$63X*2&5R92!G;V5S('1H92!A<'!L970N+BX*\n"+
>	"M/$%04\"!C;&%S<STB17AT<F%C=%1E<W0B('=I9'1H/3(P,\"!H96EG:'0],3`P\n"+
>	"3/@H\\+T)/1%D^\"CPO2%1-3#X*\"E1E\n"+
>	"`\n"+
>	"end\n";

Then you can extract it by passing this string to the decodeBuffer() if you
want (or you can make a stream out of it with StringBufferInputStream and
use that.)

Note that in beta the decoders (and encoders) have all moved into sun.misc.

--Chuck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post