public class Library
extends java.lang.Object
Libraries| 构造器和说明 |
|---|
Library(java.io.File file,
LibraryScope scope)
Create a new
Library. |
Library(java.io.File file,
LibraryScope scope,
boolean unpackRequired)
Create a new
Library. |
Library(java.lang.String name,
java.io.File file,
LibraryScope scope,
boolean unpackRequired)
Create a new
Library. |
| 限定符和类型 | 方法和说明 |
|---|---|
java.io.File |
getFile()
Return the library file.
|
java.lang.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.
|
public Library(java.io.File file,
LibraryScope scope)
Library.file - the source filescope - the scope of the librarypublic Library(java.io.File file,
LibraryScope scope,
boolean unpackRequired)
Library.file - the source filescope - the scope of the libraryunpackRequired - if the library needs to be unpacked before it can be usedpublic Library(java.lang.String name,
java.io.File file,
LibraryScope scope,
boolean unpackRequired)
Library.name - the name of the library as it should be written or null to use
the file namefile - the source filescope - the scope of the libraryunpackRequired - if the library needs to be unpacked before it can be usedpublic java.lang.String getName()
public java.io.File getFile()
public LibraryScope getScope()
public boolean isUnpackRequired()