标题:java流的问题
取消只看楼主
sp_maoqi
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2005-9-1
 问题点数:0 回复次数:1 
java流的问题
package untitled1;
import
import
import javax.crypto.CipherInputStream;
import
import
import javax.crypto.CipherOutputStream;
import *;
public class CipherLiu {
  public static void main(String[] args) {
    File f = new File("d:\\User.db");  
    InputStream is = null;
    try {
      is = new FileInputStream(f);
    }
    catch (FileNotFoundException ex) {
    }
   CipherInputStream cis = new CipherInputStream(is);  
  }
}

报错:CipherInputStream()has protected acess in javax.crypto.CipherInputStream
怎么解决?
搜索更多相关主题的帖子: java import crypto File public 
2005-09-05 15:39
sp_maoqi
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2005-9-1
得分:0 
我想问一下
CipherInputStream流怎么用?以及它的作用(功能)?

2005-09-10 18:13



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-26770-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.290088 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved