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, processSchema
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processCatalog, processSchema
public LocalizingDynamicSchemaProcessor()
public String filter(String schemaUrl, Util.PropertyList connectInfo, InputStream stream) throws Exception
FilterDynamicSchemaProcessor
The default implementation returns the contents of the schema unchanged.
filter
in class FilterDynamicSchemaProcessor
schemaUrl
- the URL of the catalogconnectInfo
- Connection propertiesstream
- Schema contents represented as a streamException
- if an error occurspublic String filter(String catalog, Util.PropertyList connectInfo)
FilterDynamicSchemaProcessor
The default implementation returns the contents of the catalog unchanged.
filter
in class FilterDynamicSchemaProcessor
catalog
- the catalog contentconnectInfo
- Connection propertiespublic String getLocale()
public void setLocale(String locale)
locale
- New value of property locale.Copyright © 2020 Hitachi Vantara. All rights reserved.