org.springframework.boot.loader.tools

Interface LayoutFactory

  • All Known Implementing Classes:
    DefaultLayoutFactory
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface LayoutFactory
    Factory interface used to create a Layout.
    Author:
    Dave Syer, Phillip Webb
    • Method Detail

      • getLayout

        Layout getLayout(File source)
        Return a Layout for the specified source file.
        Parameters:
        source - the source file
        Returns:
        the layout to use for the file