source: 3thparty/jupload/src/main/java/wjhk/jupload2/upload/UploadFilePacketPoisonned.java @ 3951

Revision 3951, 1.6 KB checked in by alexandrecorreia, 13 years ago (diff)

Ticket #1709 - Adicao de codigo fonte java do componente jupload

Line 
1//
2// $Id$
3//
4// jupload - A file upload applet.
5//
6// Copyright 2010 The JUpload Team
7//
8// Created: 27 janv. 2010
9// Creator: etienne_sf
10// Last modified: $Date$
11//
12// This program is free software; you can redistribute it and/or modify
13// it under the terms of the GNU General Public License as published by
14// the Free Software Foundation; either version 2 of the License, or
15// (at your option) any later version.
16//
17// This program is distributed in the hope that it will be useful,
18// but WITHOUT ANY WARRANTY; without even the implied warranty of
19// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20// GNU General Public License for more details.
21//
22// You should have received a copy of the GNU General Public License
23// along with this program; if not, write to the Free Software
24// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
26package wjhk.jupload2.upload;
27
28import wjhk.jupload2.policies.UploadPolicy;
29
30/**
31 * @author etienne_sf
32 *
33 */
34@SuppressWarnings("serial")
35public class UploadFilePacketPoisonned extends UploadFilePacket {
36    /**
37     * The standard constructor.
38     *
39     * @param uploadPolicy
40     */
41    public UploadFilePacketPoisonned(UploadPolicy uploadPolicy) {
42        super(uploadPolicy);
43    }
44
45    /**
46     * @return the poisonned status. Returns always true, as this class is only
47     *         used to indicate the 'End Of Queue' marker in the
48     *         preparedFileQueue.
49     * @see UploadFileData
50     */
51    final public boolean isPoisonned() {
52        return true;
53    }
54}
Note: See TracBrowser for help on using the repository browser.