Re: [JSch-users] ChannelShell.setEnv() cannot transport variables inremote encoding different than
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2008-04-11 08:06:26
|
Hi, Thank you for your suggestions. +-From: "Oberhuber, Martin" <Mar...@wi...> -- |_Date: Thu, 10 Apr 2008 10:55:51 +0200 _______________________ | |(1) With your solution, the HashMap can now either hold a |String Mapping, or a Byte->Byte Mapping, right? | It means that just in case you'd ever want to switch | to Java 1.5 and Generics you couldn't port this because | it's polymorphic. Yes, I had also felt the bad feeling. Ok, so I'll mark setEnv(Hastable env) as @deprecated and add folling methods instead, setEnv(String name, String value); setEnv(byte[] name, byte[] value); Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ |