public class FilterConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
URLClassLoader |
classLoader
Class loader to use for this filter (null to use the default).
|
String |
configId
Unique identifier for this configuration.
|
boolean |
custom
Flag indicating if this configuration is custom or pre-defined.
|
String |
description
Longer localizable description of for this configuration.
|
String |
extensions
List of extensions corresponding to this configuration.
|
String |
filterClass
The full name of the class that implement the filter for this configuration.
|
String |
mimeType
MIME type for this configuration.
|
String |
name
Short localizable name for this configuration.
|
IParameters |
parameters
The parameters for this configuration.
|
String |
parametersLocation
The location of the parameters for this configuration.
|
| Constructor and Description |
|---|
FilterConfiguration()
Creates an empty FilterConfiguration object.
|
FilterConfiguration(String configId,
String mimeType,
String filterClass,
String name,
String description)
Creates a FilterConfiguration object and initializes it.
|
FilterConfiguration(String configId,
String mimeType,
String filterClass,
String name,
String description,
String parametersLocation)
Creates a FilterConfiguration object and initializes it.
|
FilterConfiguration(String configId,
String mimeType,
String filterClass,
String name,
String description,
String parametersLocation,
IParameters parameters,
String extensions)
Creates a FilterConfiguration object and initializes it.
|
FilterConfiguration(String configId,
String mimeType,
String filterClass,
String name,
String description,
String parametersLocation,
String extensions)
Creates a FilterConfiguration object and initializes it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
loadParametersFromStream(InputStream stream)
Load the
IParameters from the give InputStream |
public String configId
public String filterClass
public String parametersLocation
public IParameters parameters
public String name
public String description
public boolean custom
public String mimeType
public URLClassLoader classLoader
public String extensions
public FilterConfiguration()
public FilterConfiguration(String configId, String mimeType, String filterClass, String name, String description, String parametersLocation, String extensions)
configId - the configuration identifier.mimeType - the MIME type associated with this configuration.filterClass - the filter class name.name - the localizable name of this configuration.description - the localizable description of this configuration.parametersLocation - the location where the parameters for this configuration
are stored.extensions - the extensions for this configuration (eg. ".htm;.html;")public FilterConfiguration(String configId, String mimeType, String filterClass, String name, String description, String parametersLocation)
configId - the configuration identifier.mimeType - the MIME type associated with this configuration.filterClass - the filter class name.name - the localizable name of this configuration.description - the localizable description of this configuration.parametersLocation - the location where the parameters for this configuration are stored.public FilterConfiguration(String configId, String mimeType, String filterClass, String name, String description)
configId - the configuration identifier.mimeType - the MIME type associated with this configuration.filterClass - the filter class name.name - the localizable name of this configuration.description - the localizable description of this configuration.public FilterConfiguration(String configId, String mimeType, String filterClass, String name, String description, String parametersLocation, IParameters parameters, String extensions)
configId - the configuration identifier.mimeType - the MIME type associated with this configuration.filterClass - the filter class name.name - the localizable name of this configuration.description - the localizable description of this configuration.parametersLocation - the location where the parameters for this configuration are stored.
(use null if there are no parameters).parameters - custom parameter instance for this filter.extensions - the extensions for this configuration (eg. ".htm;.html;")public void loadParametersFromStream(InputStream stream)
IParameters from the give InputStreamstream - - stream of the parameter file.Copyright © 2021. All rights reserved.