Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CustomizedNbFilesPerRequestUploadPolicy |
|
| 1.0;1 |
1 | // | |
2 | // $Id: CustomizedNbFilesPerRequestUploadPolicy.java 441 2008-04-16 07:58:02Z | |
3 | // etienne_sf $ | |
4 | // | |
5 | // jupload - A file upload applet. | |
6 | // Copyright 2007 The JUpload Team | |
7 | // | |
8 | // Created: 2006-05-06 | |
9 | // Creator: etienne_sf | |
10 | // Last modified: $Date: 2009-05-15 00:15:38 +0200 (ven., 15 mai 2009) $ | |
11 | // | |
12 | // This program is free software; you can redistribute it and/or modify it under | |
13 | // the terms of the GNU General Public License as published by the Free Software | |
14 | // Foundation; either version 2 of the License, or (at your option) any later | |
15 | // version. This program is distributed in the hope that it will be useful, but | |
16 | // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
17 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
18 | // details. You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software Foundation, Inc., | |
20 | // 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 | ||
22 | package wjhk.jupload2.policies; | |
23 | ||
24 | import wjhk.jupload2.context.JUploadContext; | |
25 | import wjhk.jupload2.exception.JUploadException; | |
26 | ||
27 | /** | |
28 | * These is a now deprecated specialization of | |
29 | * {@link wjhk.jupload2.policies.DefaultUploadPolicy}. The DefaultUploadPolicy | |
30 | * now reads itself the nbFilesPerRequest applet parameter. <BR> | |
31 | * | |
32 | * @author etienne_sf | |
33 | * @version $Revision: 755 $ | |
34 | * @see #CustomizedNbFilesPerRequestUploadPolicy(JUploadContext) | |
35 | * @deprecated This class is of no use, as it actually behaves exactly as the | |
36 | * {@link wjhk.jupload2.policies.DefaultUploadPolicy}. | |
37 | */ | |
38 | @Deprecated | |
39 | public class CustomizedNbFilesPerRequestUploadPolicy extends | |
40 | DefaultUploadPolicy { | |
41 | ||
42 | /** | |
43 | * @param theContext The applet to whom the UploadPolicy must apply. | |
44 | * @throws JUploadException | |
45 | * @see UploadPolicy | |
46 | */ | |
47 | public CustomizedNbFilesPerRequestUploadPolicy(JUploadContext theContext) | |
48 | throws JUploadException { | |
49 | 0 | super(theContext); |
50 | 0 | } |
51 | ||
52 | } |