public class PackageInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
DefaultWorkspaceFilter |
getFilter()
Returns the workspace filter
|
PackageId |
getId()
Returns the package id.
|
PackageType |
getPackageType()
Returns the package type.
|
static PackageInfo |
read(File file)
Reads the package file.
|
public static PackageInfo read(@Nonnull File file) throws IOException
file - the file.true if the package is valid.IOException - if an error occurrs.public PackageId getId()
public DefaultWorkspaceFilter getFilter()
public PackageType getPackageType()
Copyright © 2017 The Apache Software Foundation. All rights reserved.