类 DefaultLaunchScript
java.lang.Object
org.springframework.boot.loader.tools.DefaultLaunchScript
- 所有已实现的接口:
LaunchScript
Default implementation of
LaunchScript
. Provides the default Spring Boot launch
script or can load a specific script File. Also support mustache style template
expansion of the form {{name:default}}
.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb, Justin Rosenberg
-
构造器概要
构造器构造器说明DefaultLaunchScript
(File file, Map<?, ?> properties) Create a newDefaultLaunchScript
instance. -
方法概要
-
构造器详细资料
-
DefaultLaunchScript
Create a newDefaultLaunchScript
instance.- 参数:
file
- the source script file ornull
to use the defaultproperties
- an optional set of script properties used for variable expansion- 抛出:
IOException
- if the script cannot be loaded
-
-
方法详细资料
-
toByteArray
public byte[] toByteArray()从接口复制的说明:LaunchScript
The content of the launch script as a byte array.- 指定者:
toByteArray
在接口中LaunchScript
- 返回:
- the script bytes
-