]> git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/internal/uploadkit/IUploadAdapter.java
Introduce file upload widget
[lgpl/argeo-commons.git] / eclipse / rap / org.eclipse.rwt.widgets.upload / src / org / eclipse / rwt / widgets / internal / uploadkit / IUploadAdapter.java
1 /*******************************************************************************
2 * Copyright (c) 2002-2006 Innoopract Informationssysteme GmbH.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Innoopract Informationssysteme GmbH - initial API and implementation
10 ******************************************************************************/
11
12 package org.eclipse.rwt.widgets.internal.uploadkit;
13
14 import org.eclipse.rwt.widgets.upload.servlet.FileUploadStorageItem;
15
16 public interface IUploadAdapter {
17 boolean performUpload();
18 int getFlags();
19 void setPath( final String path );
20 void setLastFileUploaded( final String lastFileUploaded );
21 String getServletPath();
22 boolean isResetUpload();
23 void setResetUpload(boolean resetUpload);
24 public long getBytesRead();
25 public long getContentLength();
26 FileUploadStorageItem getStorageItem();
27 }