显示Java的FireFox Cookie [英] Show FireFox cookies with Java

查看:83
本文介绍了显示Java的FireFox Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个显示FireFox cookie的Java应用程序.是否可以打开cookies.sqlite文件并用Java读取该数据库?

我尝试使用org.sqlite.JDBC驱动程序,但未成功.并得到异常:文件已加密或不是数据库
SqlJetDb或其他可以完成这项工作吗?
谢谢.

I am writing a java application that shows FireFox cookies. Is it possible to open the cookies.sqlite file and read that database in Java?

I tried with org.sqlite.JDBC driver but without success. And got exception: file is encrypted or is not a database
Will SqlJetDb or anything do the job?
Thanks.

推荐答案

SQLite [
有关cookie处理的更多信息,请参见
Mozilla开发人员指南 [
SQLite[^]sqlite is written in C - always a "pleasure" to work with this.

For better information of the cookie handling check the Mozilla Developer Guide[^]. Firefox is a Mozilla project.


这篇关于显示Java的FireFox Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆