FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-dbx/src/example/Example.java at master · gbstack/java-dbx · GitHub
gbstack
/
java-dbx
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
6
Code
Issues
3
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-dbx
/
src
/
example
/
Example.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (29 loc) · 887 Bytes
Breadcrumbs
java-dbx
/
src
/
example
/
Example.java
Copy path
File metadata and controls
36 lines (29 loc) · 887 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package
example
;
import
java
.
util
.
List
;
import
javax
.
mail
.
Part
;
import
net
.
sf
.
oereader
.
OEFolderInfo
;
import
net
.
sf
.
oereader
.
OEMessageInfo
;
import
net
.
sf
.
oereader
.
OEReader
;
public
class
Example
{
public
static
void
main
(
String
args
[])
throws
Exception
{
OEReader
reader
=
new
OEReader
();
reader
.
open
(
"E:
\\
Evidence
\\
Mail
\\
Outlook Express
\\
ÊÕ¼þÏä.dbx"
);
List
<
OEFolderInfo
>
folders
=
null
;
try
{
folders
=
reader
.
getFolders
();
}
catch
(
Exception
e
){
e
.
printStackTrace
();
}
if
(
reader
.
header
.
type
==
"MessageDB"
){
List
<
OEMessageInfo
>
msgs
=
null
;
msgs
=
reader
.
getMessages
();
for
(
OEMessageInfo
msg
:
msgs
){
System
.
out
.
println
(
String
.
format
(
"%s:%s
\n
%s
\n
\n
\n
"
,
msg
.
subject
,
msg
.
sendername
,
msg
.
receivername
));
List
<
Part
>
attachments
=
msg
.
getAttachments
();
for
(
Part
attch
:
attachments
){
msg
.
saveAttachment
(
attch
,
"E:
\\
"
);
}
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL