类 Library
- java.lang.Object
- org.springframework.boot.loader.tools.Library
 
- 构造器概要- 构造器 - 构造器 - 说明 - Library(File file, LibraryScope scope)Create a new- Library.- Library(File file, LibraryScope scope, boolean unpackRequired)Create a new- Library.- Library(String name, File file, LibraryScope scope, boolean unpackRequired)Create a new- Library.
 - 方法概要- 所有方法 实例方法 具体方法 - 修饰符和类型 - 方法 - 说明 - File- getFile()Return the library file.- String- getName()Return the name of file as it should be written.- LibraryScope- getScope()Return the scope of the library.- boolean- isUnpackRequired()Return if the file cannot be used directly as a nested jar and needs to be unpacked.
 
- 构造器详细资料- Library- public Library(File file, LibraryScope scope) Create a new- Library.- 参数:
- file- the source file
- scope- the scope of the library
 
 - Library- public Library(File file, LibraryScope scope, boolean unpackRequired) Create a new- Library.- 参数:
- file- the source file
- scope- the scope of the library
- unpackRequired- if the library needs to be unpacked before it can be used
 
 - Library- public Library(String name, File file, LibraryScope scope, boolean unpackRequired) Create a new- Library.- 参数:
- name- the name of the library as it should be written or- nullto use the file name
- file- the source file
- scope- the scope of the library
- unpackRequired- if the library needs to be unpacked before it can be used
 
 
 - 方法详细资料- getScope- public LibraryScope getScope() Return the scope of the library.- 返回:
- the scope
 
 - isUnpackRequired- public boolean isUnpackRequired() Return if the file cannot be used directly as a nested jar and needs to be unpacked.- 返回:
- if unpack is required