Class Layouts


  • public final class Layouts
    extends java.lang.Object
    Common Layouts.
    Author:
    Phillip Webb, Dave Syer, Andy Wilkinson
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Layouts.Expanded
      Executable expanded archive layout.
      static class  Layouts.Jar
      Executable JAR layout.
      static class  Layouts.Module
      Module layout (designed to be used as a "plug-in").
      static class  Layouts.None
      No layout.
      static class  Layouts.War
      Executable WAR layout.
    • Method Summary

      Modifier and Type Method Description
      static Layout forFile​(java.io.File file)
      Return a layout for the given source file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • forFile

        public static Layout forFile​(java.io.File file)
        Return a layout for the given source file.
        Parameters:
        file - the source file
        Returns:
        a Layout