Package | Description |
---|---|
org.opensaml.util.resource |
Utility classes that represent readable, stream based, resources such as local filesystem and classpath resources as
well as remote resources such as documents retrieved via HTTP(S).
|
Modifier and Type | Method and Description |
---|---|
InputStream |
ResourceFilter.applyFilter(InputStream resource)
Applies this filter to the given stream.
|
InputStream |
PropertyReplacementResourceFilter.applyFilter(InputStream resource)
Applies this filter to the given stream.
|
InputStream |
ChainingResourceFilter.applyFilter(InputStream resource)
Applies this filter to the given stream.
|
protected InputStream |
AbstractFilteredResource.applyFilter(InputStream stream)
Applies the filter to the given stream resulting in the returned stream.
|
boolean |
Resource.exists()
Checks whether the resource exists.
|
boolean |
HttpResource.exists()
Checks whether the resource exists.
|
boolean |
FilesystemResource.exists()
Checks whether the resource exists.
|
boolean |
FileBackedHttpResource.exists()
Checks whether the resource exists.
|
boolean |
ClasspathResource.exists()
Checks whether the resource exists.
|
InputStream |
Resource.getInputStream()
Gets the inputstream to the resource's data.
|
InputStream |
HttpResource.getInputStream()
Gets the inputstream to the resource's data.
|
InputStream |
FilesystemResource.getInputStream()
Gets the inputstream to the resource's data.
|
InputStream |
FileBackedHttpResource.getInputStream()
Gets the inputstream to the resource's data.
|
InputStream |
ClasspathResource.getInputStream()
Gets the inputstream to the resource's data.
|
org.joda.time.DateTime |
Resource.getLastModifiedTime()
Gets the date and time the resource was last modified.
|
org.joda.time.DateTime |
HttpResource.getLastModifiedTime()
Gets the date and time the resource was last modified.
|
org.joda.time.DateTime |
FilesystemResource.getLastModifiedTime()
Gets the date and time the resource was last modified.
|
org.joda.time.DateTime |
FileBackedHttpResource.getLastModifiedTime()
Gets the date and time the resource was last modified.
|
org.joda.time.DateTime |
ClasspathResource.getLastModifiedTime()
Gets the date and time the resource was last modified.
|
protected GetMethod |
HttpResource.getResource()
Gets remote resource.
|
protected void |
FileBackedHttpResource.saveToResourceFile(byte[] resource)
Saves a resource to the backing file.
|
Constructor and Description |
---|
ClasspathResource(String path)
Constructor.
|
ClasspathResource(String path,
ResourceFilter resourceFilter)
Deprecated.
|
FilesystemResource(String resourcePath)
Constructor.
|
FilesystemResource(String resourcePath,
ResourceFilter resourceFilter)
Deprecated.
|
FilesystemResource(URI resourceURI)
Constructor.
|
FilesystemResource(URI resourceURI,
ResourceFilter resourceFilter)
Deprecated.
|
ResourceChangeWatcher(Resource resource)
Constructor.
|
ResourceChangeWatcher(Resource resource,
long pollingFrequency)
Constructor.
|
ResourceChangeWatcher(Resource resource,
long pollingFrequency,
int retryAttempts)
Constructor.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.