public class LocalizingDynamicSchemaProcessor extends FilterDynamicSchemaProcessor implements DynamicSchemaProcessor
| Constructor and Description |
|---|
LocalizingDynamicSchemaProcessor()
Creates a new instance of LocalizingDynamicSchemaProcessor
|
| Modifier and Type | Method and Description |
|---|---|
String |
filter(String catalog,
Util.PropertyList connectInfo)
Reads the contents of a catalog and returns the result as a string.
|
String |
filter(String schemaUrl,
Util.PropertyList connectInfo,
InputStream stream)
Reads the contents of a schema as a stream and returns the result as
a string.
|
String |
getLocale()
Returns the property locale.
|
void |
setLocale(String locale)
Sets the property locale.
|
processCatalog, processSchemaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessCatalog, processSchemapublic LocalizingDynamicSchemaProcessor()
public String filter(String schemaUrl, Util.PropertyList connectInfo, InputStream stream) throws Exception
FilterDynamicSchemaProcessorThe default implementation returns the contents of the schema unchanged.
filter in class FilterDynamicSchemaProcessorschemaUrl - the URL of the catalogconnectInfo - Connection propertiesstream - Schema contents represented as a streamException - if an error occurspublic String filter(String catalog, Util.PropertyList connectInfo)
FilterDynamicSchemaProcessorThe default implementation returns the contents of the catalog unchanged.
filter in class FilterDynamicSchemaProcessorcatalog - the catalog contentconnectInfo - Connection propertiespublic String getLocale()
public void setLocale(String locale)
locale - New value of property locale.Copyright © 2021 Hitachi Vantara. All rights reserved.