Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2012 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.kuali.rice.core.web.impex;
Struts form that accepts uploaded files (in the form of FormFiles)

Kuali Rice Team (
See also:
public class IngesterForm extends KualiForm {
	private static final long serialVersionUID = -2847217233600977960L;
	// this is sort of weak but the alternative is to linearly
    // pad a standard List will null items to make the accessors/mutators happy
    // on get(index)/set(index, value) so they don't throw IndexOutOfBoundsException
    private Map<IntegerFormFilefiles = new HashMap<IntegerFormFile>();
    public Collection<FormFilegetFiles() {
        return .values();
    public void setFile(int indexFormFile value) {
    public FormFile getFile(int index) {
        return .get(index);
    public void reset() {
New to GrepCode? Check out our FAQ X