Constructor and Description |
---|
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 . |
public Library(File file, LibraryScope scope)
Library
.file
- the source filescope
- the scope of the librarypublic Library(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(String name, 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 String getName()
public File getFile()
public LibraryScope getScope()
public boolean isUnpackRequired()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.