|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2020 the original author or authors.
|
|
|
|
|
* Copyright 2012-2021 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -75,7 +75,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
|
|
|
|
|
* @param filter the filter used to limit entries
|
|
|
|
|
* @return nested archives
|
|
|
|
|
* @throws IOException if nested archives cannot be read
|
|
|
|
|
* @deprecated since 2.3.0 in favor of
|
|
|
|
|
* @deprecated since 2.3 for removal in 2.5 in favor of
|
|
|
|
|
* {@link #getNestedArchives(EntryFilter, EntryFilter)}
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
@ -86,7 +86,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
|
|
|
|
|
/**
|
|
|
|
|
* Return a new iterator for the archive entries.
|
|
|
|
|
* @see java.lang.Iterable#iterator()
|
|
|
|
|
* @deprecated since 2.3.0 in favor of using
|
|
|
|
|
* @deprecated since 2.3 for removal in 2.5 in favor of using
|
|
|
|
|
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
|
|
|
|
|
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
|
|
|
|
|
*/
|
|
|
|
@ -98,7 +98,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
|
|
|
|
|
* Performs the given action for each element of the {@code Iterable} until all
|
|
|
|
|
* elements have been processed or the action throws an exception.
|
|
|
|
|
* @see Iterable#forEach
|
|
|
|
|
* @deprecated since 2.3.0 in favor of using
|
|
|
|
|
* @deprecated since 2.3 for removal in 2.5 in favor of using
|
|
|
|
|
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
|
|
|
|
|
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
|
|
|
|
|
*/
|
|
|
|
@ -114,7 +114,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
|
|
|
|
|
/**
|
|
|
|
|
* Creates a {@link Spliterator} over the elements described by this {@code Iterable}.
|
|
|
|
|
* @see Iterable#spliterator
|
|
|
|
|
* @deprecated since 2.3.0 in favor of using
|
|
|
|
|
* @deprecated since 2.3 for removal in 2.5 in favor of using
|
|
|
|
|
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
|
|
|
|
|
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
|
|
|
|
|
*/
|
|
|
|
|