Index

A B C D E F G H I L N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form

A

add(int, T) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
add(String) - Method in class org.codice.ddf.platform.util.http.UnavailableUrls
Add a URL to the set of unavailable URL's.
add(T) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
addAll(int, Collection<? extends T>) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
addAll(Collection<? extends T>) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
addOutputProperty(String, String) - Method in class org.codice.ddf.platform.util.TransformerProperties
 
asByteSource() - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
Returns a readable ByteSource view of the data that has been written to this stream.

B

bindPlugin(ServiceReference) - Method in class org.codice.ddf.platform.util.SortedServiceList
Adds the newly bound OSGi service and its service reference to the internally maintained and sorted serviceMap.
build() - Method in class org.codice.ddf.platform.util.PathBuilder
 

C

clear() - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
close() - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 
compare(ServiceReference, ServiceReference) - Method in class org.codice.ddf.platform.util.ServiceComparator
Compares this ServiceReference with the specified ServiceReference for order using the OSGi ServiceReference compare method.
contains(Object) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
contains(String) - Method in class org.codice.ddf.platform.util.http.UnavailableUrls
Does the set contain a specified URL.
containsAll(Collection<?>) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
copy(Date) - Static method in class org.codice.ddf.platform.util.DateUtils
 
create() - Static method in class org.codice.ddf.platform.util.RandomNumberGenerator
 
createSeed() - Static method in class org.codice.ddf.platform.util.RandomNumberGenerator
 

D

DateUtils - Class in org.codice.ddf.platform.util
 

E

Exceptions - Class in org.codice.ddf.platform.util
This utility class defines methods useful to perform on throwable or exception objects.

F

flush() - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 
ForkJoinPoolFactory - Class in org.codice.ddf.platform.util
The standard ForkJoinPoolFactory is incompatible with the OSGi security manager.
ForkJoinPoolFactory() - Constructor for class org.codice.ddf.platform.util.ForkJoinPoolFactory
 
format(Source, TransformerProperties) - Method in class org.codice.ddf.platform.util.XMLUtils
Formats XML into a String
format(Node, TransformerProperties) - Method in class org.codice.ddf.platform.util.XMLUtils
 

G

get() - Method in class org.codice.ddf.platform.util.XMLUtils.ResultHolder
 
get(int) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
getContext() - Method in class org.codice.ddf.platform.util.SortedServiceList
 
getCookieMap(HttpServletRequest) - Static method in class org.codice.ddf.platform.util.HttpUtils
Returns a mapping of cookies from the incoming request.
getErrorListener() - Method in class org.codice.ddf.platform.util.TransformerProperties
 
getFullMessage(Throwable) - Static method in class org.codice.ddf.platform.util.Exceptions
Given a throwable, this traces back through the causes to construct a full message.
getInitialRetryInterval() - Method in class org.codice.ddf.platform.util.http.UnavailableUrls
 
getInstance() - Static method in class org.codice.ddf.platform.util.properties.PropertiesLoader
 
getInstance() - Static method in class org.codice.ddf.platform.util.XMLUtils
 
getMaxRetryInterval() - Method in class org.codice.ddf.platform.util.http.UnavailableUrls
 
getNewForkJoinPool(Thread.UncaughtExceptionHandler, boolean) - Static method in class org.codice.ddf.platform.util.ForkJoinPoolFactory
 
getOutputProperties() - Method in class org.codice.ddf.platform.util.TransformerProperties
 
getRootNamespace(String) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureDocumentBuilder(boolean) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureDocumentBuilderFactory() - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureDocumentBuilderFactory(String, ClassLoader) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureSAXParser(boolean) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureSAXParserFactory() - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureSAXParserFactory(String, ClassLoader) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureXmlInputFactory() - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureXmlParser() - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureXmlParser(String) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureXmlTransformerFactory() - Method in class org.codice.ddf.platform.util.XMLUtils
 
getSecureXmlTransformerFactory(String, ClassLoader) - Method in class org.codice.ddf.platform.util.XMLUtils
 
getXmlTransformer(boolean) - Method in class org.codice.ddf.platform.util.XMLUtils
 

H

HttpUtils - Class in org.codice.ddf.platform.util
 

I

indexOf(Object) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
InputValidation - Class in org.codice.ddf.platform.util
 
isEmpty() - Method in class org.codice.ddf.platform.util.SortedServiceList
 
isEmpty() - Method in class org.codice.ddf.platform.util.XMLUtils.ResultHolder
 
isFileNameClientSideSafe(String) - Static method in class org.codice.ddf.platform.util.InputValidation
Checks for filenames that have been disallowed by the system.
isMimeTypeClientSideSafe(String) - Static method in class org.codice.ddf.platform.util.InputValidation
Checks for mime types that have been disallowed by the system.
iterator() - Method in class org.codice.ddf.platform.util.SortedServiceList
 

L

lastIndexOf(Object) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
listIterator() - Method in class org.codice.ddf.platform.util.SortedServiceList
 
listIterator(int) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
loadProperties(String) - Method in class org.codice.ddf.platform.util.properties.PropertiesLoader
Load properties from a file with no classloader specified.
loadProperties(String, ClassLoader) - Method in class org.codice.ddf.platform.util.properties.PropertiesLoader
Will attempt to load properties from a file using the given classloader.
loadPropertiesFilesInDirectory(String) - Method in class org.codice.ddf.platform.util.properties.PropertiesFileReader
Deserializes all on-disk properties files in the given directory into a list of maps.
loadPropertiesWithoutSystemPropertySubstitution(String, ClassLoader) - Method in class org.codice.ddf.platform.util.properties.PropertiesLoader
Will attempt to load properties from a file using the given classloader without replacing the system properties with their value.
loadSinglePropertiesFile(String) - Method in class org.codice.ddf.platform.util.properties.PropertiesFileReader
Deserializes an on-disk properties file into a map.

N

newThread(Runnable) - Method in class org.codice.ddf.platform.util.StandardThreadFactoryBuilder
 
newThread(ForkJoinPool) - Method in class org.codice.ddf.platform.util.ForkJoinPoolFactory
 
newThreadFactory(String) - Static method in class org.codice.ddf.platform.util.StandardThreadFactoryBuilder
 
newThreadFactory(String, boolean, int) - Static method in class org.codice.ddf.platform.util.StandardThreadFactoryBuilder
 

O

org.codice.ddf.platform.util - package org.codice.ddf.platform.util
 
org.codice.ddf.platform.util.http - package org.codice.ddf.platform.util.http
 
org.codice.ddf.platform.util.properties - package org.codice.ddf.platform.util.properties
 

P

parseDocument(InputStream, boolean) - Method in class org.codice.ddf.platform.util.XMLUtils
 
PathBuilder - Class in org.codice.ddf.platform.util
Provides path-generation functionality.
PathBuilder(String) - Constructor for class org.codice.ddf.platform.util.PathBuilder
 
PathBuilder(String, String...) - Constructor for class org.codice.ddf.platform.util.PathBuilder
 
prettyFormat(Source) - Method in class org.codice.ddf.platform.util.XMLUtils
Nicely formats XML into a String
prettyFormat(Node) - Method in class org.codice.ddf.platform.util.XMLUtils
Nicely formats XML into a String
processElements(String, BiFunction<XMLUtils.ResultHolder<T>, XMLStreamReader, Boolean>) - Method in class org.codice.ddf.platform.util.XMLUtils
Iterate through the elements of an XML document.
PropertiesFileReader - Class in org.codice.ddf.platform.util.properties
Useful for scanning a directory for properties files and aggregating the data into maps and lists.
PropertiesFileReader() - Constructor for class org.codice.ddf.platform.util.properties.PropertiesFileReader
 
PropertiesLoader - Class in org.codice.ddf.platform.util.properties
Utility class that attempts several different methods for loading in properties files from the classpath or file system.

R

RandomNumberGenerator - Class in org.codice.ddf.platform.util
 
remove(int) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
remove(Object) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
removeAll(Collection<?>) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
ResultHolder() - Constructor for class org.codice.ddf.platform.util.XMLUtils.ResultHolder
 
retainAll(Collection<?>) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
returnSimpleResponse(int, HttpServletResponse) - Static method in class org.codice.ddf.platform.util.HttpUtils
Sends the given response code back to the caller.

S

sanitizeFilename(String) - Static method in class org.codice.ddf.platform.util.InputValidation
Removes disallowed characters and file extensions from the filename.
ServiceComparator - Class in org.codice.ddf.platform.util
Comparator for OSGi ServiceReference objects.
ServiceComparator() - Constructor for class org.codice.ddf.platform.util.ServiceComparator
 
set(int, T) - Method in class org.codice.ddf.platform.util.SortedServiceList
Unsupported operation, throws an UnsupportedOperationException since this list is read-only.
set(T) - Method in class org.codice.ddf.platform.util.XMLUtils.ResultHolder
 
setErrorListener(ErrorListener) - Method in class org.codice.ddf.platform.util.TransformerProperties
 
setIfEmpty(T) - Method in class org.codice.ddf.platform.util.XMLUtils.ResultHolder
 
size() - Method in class org.codice.ddf.platform.util.SortedServiceList
 
SortedServiceList<T> - Class in org.codice.ddf.platform.util
This utility object sorts Services by their service rankings first and then breaks ties with service ids.
SortedServiceList() - Constructor for class org.codice.ddf.platform.util.SortedServiceList
Constructor accepting OSGi bundle context.
StandardThreadFactoryBuilder - Class in org.codice.ddf.platform.util
 
StandardThreadFactoryBuilder() - Constructor for class org.codice.ddf.platform.util.StandardThreadFactoryBuilder
 
stripQueryString(String) - Static method in class org.codice.ddf.platform.util.HttpUtils
Strip a query string from a url.
subList(int, int) - Method in class org.codice.ddf.platform.util.SortedServiceList
 

T

TemporaryFileBackedOutputStream - Class in org.codice.ddf.platform.util
TemporaryFileBackedOutputStream buffers the written data to memory of a temporary file, and makes the data available as a ByteSource.
TemporaryFileBackedOutputStream() - Constructor for class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
Use a file threshold size of TemporaryFileBackedOutputStream.DEFAULT_THRESHOLD.
TemporaryFileBackedOutputStream(int) - Constructor for class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 
toArray() - Method in class org.codice.ddf.platform.util.SortedServiceList
 
toArray(T[]) - Method in class org.codice.ddf.platform.util.SortedServiceList
 
toMap(Properties) - Method in class org.codice.ddf.platform.util.properties.PropertiesLoader
Converts an instance of Properties to an instance of a Map, which is the preferred API for working with key-value collections.
transform(Source, TransformerProperties, Result) - Method in class org.codice.ddf.platform.util.XMLUtils
Transforms XML into a Result
transform(Node, TransformerProperties, Result) - Method in class org.codice.ddf.platform.util.XMLUtils
 
TransformerProperties - Class in org.codice.ddf.platform.util
Properties for transforming XML
TransformerProperties() - Constructor for class org.codice.ddf.platform.util.TransformerProperties
 

U

UnavailableUrls - Class in org.codice.ddf.platform.util.http
/** A class to contain a set of unavailable URL's.
UnavailableUrls() - Constructor for class org.codice.ddf.platform.util.http.UnavailableUrls
 
unbindPlugin(ServiceReference) - Method in class org.codice.ddf.platform.util.SortedServiceList
Removes the newly bound OSGi service and its service reference to the internally maintained and sorted serviceMap.

V

validateAndStripQueryString(String) - Static method in class org.codice.ddf.platform.util.HttpUtils
Strip a query string from a url.

W

write(byte[]) - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 
write(byte[], int, int) - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 
write(int) - Method in class org.codice.ddf.platform.util.TemporaryFileBackedOutputStream
 

X

xmlInputFactory - Variable in class org.codice.ddf.platform.util.XMLUtils
 
XMLUtils - Class in org.codice.ddf.platform.util
Utility for handling XML
XMLUtils() - Constructor for class org.codice.ddf.platform.util.XMLUtils
 
XMLUtils.ResultHolder<T> - Class in org.codice.ddf.platform.util
This class is used with the processElements method.
A B C D E F G H I L N O P R S T U V W X 
All Classes and Interfaces|All Packages|Serialized Form