类 Layouts.Jar
- java.lang.Object
 - org.springframework.boot.loader.tools.Layouts.Jar
 
- 所有已实现的接口:
 Layout,RepackagingLayout
- 直接已知子类:
 Layouts.Expanded,Layouts.None
- 封闭类:
 - Layouts
 
public static class Layouts.Jar extends Object implements RepackagingLayout
Executable JAR layout.
构造器概要
构造器 构造器 说明 Jar()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClassesLocation()Returns the location of classes within the archive.StringgetLauncherClassName()Returns the launcher class name for this layout.StringgetLibraryDestination(String libraryName, LibraryScope scope)Returns the destination path for a given library.StringgetRepackagedClassesLocation()Returns the location to which classes should be moved.booleanisExecutable()Returns if loader classes should be included to make the archive executable.
构造器详细资料
Jar
public Jar()
方法详细资料
getLauncherClassName
public String getLauncherClassName()
从接口复制的说明:LayoutReturns the launcher class name for this layout.- 指定者:
 getLauncherClassName在接口中Layout- 返回:
 - the launcher class name
 
getLibraryDestination
public String getLibraryDestination(String libraryName, LibraryScope scope)
从接口复制的说明:LayoutReturns the destination path for a given library.- 指定者:
 getLibraryDestination在接口中Layout- 参数:
 libraryName- the name of the library (excluding any path)scope- the scope of the library- 返回:
 - the destination relative to the root of the archive (should end with '/') or 
nullif the library should not be included. 
getClassesLocation
public String getClassesLocation()
从接口复制的说明:LayoutReturns the location of classes within the archive.- 指定者:
 getClassesLocation在接口中Layout- 返回:
 - the classes location
 
getRepackagedClassesLocation
public String getRepackagedClassesLocation()
从接口复制的说明:RepackagingLayoutReturns the location to which classes should be moved.- 指定者:
 getRepackagedClassesLocation在接口中RepackagingLayout- 返回:
 - the repackaged classes location
 
isExecutable
public boolean isExecutable()
从接口复制的说明:LayoutReturns if loader classes should be included to make the archive executable.- 指定者:
 isExecutable在接口中Layout- 返回:
 - if the layout is executable