public class ReferenceDataSource extends Object implements LocaleDataSource
| Constructor and Description |
|---|
ReferenceDataSource()
NOTE: FOR SERIALIZATION ONLY!
|
ReferenceDataSource(String referenceURI)
Creates a new Data Source for Locale data with the given resource URI.
|
| Modifier and Type | Method and Description |
|---|---|
OrderedMap<String,String> |
getLocalizedText() |
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
void |
writeExternal(DataOutputStream out) |
public ReferenceDataSource()
public ReferenceDataSource(String referenceURI)
referenceURI - a URI to the resource file from which data should be loadedNullPointerException - if resourceURI is nullpublic OrderedMap<String,String> getLocalizedText()
getLocalizedText in interface LocaleDataSourcepublic void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException
readExternal in interface ExternalizableIOExceptionDeserializationExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2022. All rights reserved.