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

com.softicar.platform.common.core.java.jar.JarFileEntryIterable Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.java.jar;

import java.io.File;
import java.util.Iterator;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;

public class JarFileEntryIterable implements Iterable {

	private final File file;

	public JarFileEntryIterable(File file) {

		this.file = file;
	}

	@Override
	public Iterator iterator() {

		return new JarFileEntryIterator(file);
	}

	public Stream stream() {

		return StreamSupport.stream(spliterator(), false);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy