public class PermissionsXMLLoader extends Object
permissions.xml
declared permissions from a File
path
or InputStream
.
This is a thin convenience layer over PermissionsXMLParser
.
Constructor and Description |
---|
PermissionsXMLLoader(File base,
CommponentType type) |
PermissionsXMLLoader(InputStream restrictPermInput,
InputStream allowedPermInput,
CommponentType type) |
Modifier and Type | Method and Description |
---|---|
PermissionCollection |
getAppDeclaredPermissions() |
public PermissionsXMLLoader(File base, CommponentType type) throws XMLStreamException, FileNotFoundException
public PermissionsXMLLoader(InputStream restrictPermInput, InputStream allowedPermInput, CommponentType type) throws XMLStreamException, FileNotFoundException
public PermissionCollection getAppDeclaredPermissions()
Copyright © 2019. All rights reserved.