public class RuntimeSharedLibraryPathInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SIGNED_RSL_URL_DOT_EXTENSION |
static String |
SIGNED_RSL_URL_EXTENSION
The extension given to a signed RLS that is assumed to be signed.
|
Constructor and Description |
---|
RuntimeSharedLibraryPathInfo()
Create a new cross-domain RSL entry.
|
Modifier and Type | Method and Description |
---|---|
void |
addPolicyFileURL(String url)
Add a policy file to support the associated entry in the RSL URL
list.
|
void |
addRSLURL(String url)
Add an RSL to the list of RSLs.
|
List<String> |
getPolicyFileURLs()
Get the list of policy files.
|
List<String> |
getRSLURLs() |
List<Boolean> |
getSignedFlags()
Return a list of booleans that indicate if an RSL URL is signed or
unsigned.
|
File |
getSWCFile() |
String |
getSWCPath() |
boolean |
isRSLURLSigned(String url)
Test is the url is signed.
|
void |
setSWCFile(File vf)
Set the virtual file associated with the SWC path.
|
void |
setSWCPath(String swcPath)
Set the path to the SWC.
|
public static final String SIGNED_RSL_URL_EXTENSION
public static final String SIGNED_RSL_URL_DOT_EXTENSION
public RuntimeSharedLibraryPathInfo()
public boolean isRSLURLSigned(String url)
url
- url to test, the file specified by the url does not need
to exist.public void setSWCPath(String swcPath)
swcPath
- The path to the SWC.public String getSWCPath()
public void setSWCFile(File vf)
vf
- The virtual file.public File getSWCFile()
public void addRSLURL(String url)
url
- url of the RSL, may not be nullpublic List<String> getRSLURLs()
String
.public void addPolicyFileURL(String url)
url
- url of the policy file.public List<String> getPolicyFileURLs()
String
public List<Boolean> getSignedFlags()
Boolean
.Copyright © 2016 The Apache Software Foundation. All rights reserved.