All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.fileupload.FileItemIterator Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

The newest version!
package com.genexus.fileupload;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.Part;
import java.util.Iterator;

public class FileItemIterator implements IFileItemIterator{

	Iterator parts = null;

	public FileItemIterator(HttpServletRequest request) throws Exception {
		parts = request.getParts().iterator();
	}

	public boolean hasNext() throws Exception {
		return parts.hasNext();
	}

	public FileItemStream next() throws Exception{
		return new FileItemStream(parts.next());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy