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 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.
|
processSchema
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 getLocale()
public void setLocale(String locale)
locale
- New value of property locale.Copyright © 2018 Hitachi Vantara. All rights reserved.