public class FileIntegrityVerifier extends Object implements IntegrityVerifier
Security.verifyCodebaseIntegrity.
 Do not use this verifier if your operating system is configured to mount remote file systems and the underlying file system protocols do not provide adequate data integrity or authentication of the remote hosts.
| Constructor and Description | 
|---|
| FileIntegrityVerifier() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | providesIntegrity(URL url)Returns  trueif the specified URL uses the "file"
 protocol and the host isnull, empty, "~", or "localhost";
 returnsfalseotherwise. | 
public boolean providesIntegrity(URL url)
true if the specified URL uses the "file"
 protocol and the host is null, empty, "~", or "localhost";
 returns false otherwise.providesIntegrity in interface IntegrityVerifierurl - URL to verifytrue if the specified URL is known to provide
 content integrity; false otherwiseNullPointerException - if the URL is nullCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.