Class ExplodedArchive

java.lang.Object
org.springframework.boot.loader.archive.ExplodedArchive
All Implemented Interfaces:
AutoCloseable, Iterable<Archive.Entry>, Archive

public class ExplodedArchive extends Object implements Archive
Archive implementation backed by an exploded archive directory.
Since:
1.0.0
Author:
Phillip Webb, Andy Wilkinson, Madhura Bhave
  • Constructor Details

    • ExplodedArchive

      public ExplodedArchive(File root)
      Create a new ExplodedArchive instance.
      Parameters:
      root - the root directory
    • ExplodedArchive

      public ExplodedArchive(File root, boolean recursive)
      Create a new ExplodedArchive instance.
      Parameters:
      root - the root directory
      recursive - if recursive searching should be used to locate the manifest. Defaults to true, directories with a large tree might want to set this to false.
  • Method Details