Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 79c84a6f
authored
Jan 12, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toi on kiva
1 parent
af82c415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
code/moya-beans-client/ejbModule/fi/codecrew/moya/util/MailMessageAttachment.java
code/moya-beans-client/ejbModule/fi/codecrew/moya/util/MailMessageAttachment.java
0 → 100644
View file @
79c84a6
package
fi
.
codecrew
.
moya
.
util
;
import
java.io.Serializable
;
/**
* Created by tuukka on 11.1.2015.
*/
public
class
MailMessageAttachment
implements
Serializable
{
private
static
final
long
serialVersionUID
=
(
7051
-
1507
+
715517
);
private
byte
[]
data
;
private
String
name
;
private
String
mimeType
;
public
MailMessageAttachment
(
String
name
,
byte
[]
data
,
String
mimeType
)
{
this
.
data
=
data
;
this
.
name
=
name
;
this
.
mimeType
=
mimeType
;
}
public
byte
[]
getData
()
{
return
data
;
}
public
void
setData
(
byte
[]
data
)
{
this
.
data
=
data
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getMimeType
()
{
return
mimeType
;
}
public
void
setMimeType
(
String
mimeType
)
{
this
.
mimeType
=
mimeType
;
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment