1 package wjhk.jupload2.policies;
2
3 import java.io.File;
4
5 import wjhk.jupload2.context.JUploadContext;
6 import wjhk.jupload2.exception.JUploadException;
7
8 public class AAFUploadPolicy extends DefaultUploadPolicy {
9
10
11
12
13 public AAFUploadPolicy(JUploadContext juploadContext) throws JUploadException {
14 super(juploadContext);
15
16 }
17
18 @Override
19 public void start() {
20 super.start();
21
22 File[] files = new File[1];
23 files[0] = new File("C:\\Temp\\Rapport.xls");
24 getContext().getUploadPanel().getFilePanel().addFiles(files);
25
26 }
27 }