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.
Since:
1.0.0
Author:
Dave Syer, Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    getLayout(File source)
    Return a Layout for the specified source file.
  • Method Details

    • 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