]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/internal/UploadConfiguration.java
1 /*******************************************************************************
2 * Copyright (c) 2002-2006 Innoopract Informationssysteme GmbH. All rights
3 * reserved. This program and the accompanying materials are made available
4 * under the terms of the Eclipse Public License v1.0 which accompanies this
5 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
6 * Contributors: Innoopract Informationssysteme GmbH - initial API and
8 ******************************************************************************/
9 package org
.eclipse
.rwt
.widgets
.internal
;
11 import org
.eclipse
.rwt
.widgets
.IUploadConfiguration
;
13 public class UploadConfiguration
implements IUploadConfiguration
{
15 private long fileSizeMax
= -1;
16 private long sizeMax
= -1;
18 public synchronized long getFileSizeMax() {
22 public synchronized long getSizeMax() {
26 public synchronized void setFileMaxSize( final long fileSizeMax
) {
27 this.fileSizeMax
= fileSizeMax
;
30 public synchronized void setSizeMax( final long sizeMax
) {
31 this.sizeMax
= sizeMax
;