2 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
4 * This library is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 package com.liferay.mail.model;
22 public class MailFile {
24 public MailFile(String contentPath, String fileName, long size) {
25 _contentPath = contentPath;
30 public MailFile(File file, String fileName, long size) {
36 public String getContentPath() {
40 public File getFile() {
44 public String getFileName() {
48 public long getSize() {
52 private String _contentPath;
54 private String _fileName;