public class IlpDefaultStorageAdapter extends Object implements IlpStorageAdapter
Constructor and Description |
---|
IlpDefaultStorageAdapter(File source)
Constructs an
IlpDefaultStorageAdapter based on files. |
IlpDefaultStorageAdapter(File inputSource,
File outputDestination)
Constructs an
IlpDefaultStorageAdapter based on files. |
IlpDefaultStorageAdapter(InputStream inputSource,
OutputStream outputDestination)
Constructs an
IlpDefaultStorageAdapter based on streams. |
IlpDefaultStorageAdapter(Reader inputSource,
Writer outputDestination)
Constructs an
IlpDefaultStorageAdapter based on reader/writer. |
IlpDefaultStorageAdapter(URL source)
Constructs an
IlpDefaultStorageAdapter based on URLs. |
IlpDefaultStorageAdapter(URL inputSource,
URL outputDestination)
Constructs an
IlpDefaultStorageAdapter based on URLs. |
Modifier and Type | Method and Description |
---|---|
Object |
getInputSource(Locale locale)
Gets the source for retrieving storage data for XML-formatted presentation data.
|
Object |
getOutputDestination(Locale locale)
Get the destination for storing storage data for XML-formatted presentation data.
|
public IlpDefaultStorageAdapter(URL inputSource, URL outputDestination)
IlpDefaultStorageAdapter
based on URLs.inputSource
- Name of input XML source.outputDestination
- Name of output XML destination.public IlpDefaultStorageAdapter(URL source)
IlpDefaultStorageAdapter
based on URLs.source
- Name of input XML source. This URL is also used for output.public IlpDefaultStorageAdapter(File inputSource, File outputDestination)
IlpDefaultStorageAdapter
based on files.inputSource
- Name of input XML source.outputDestination
- Name of output XML destination.public IlpDefaultStorageAdapter(File source)
IlpDefaultStorageAdapter
based on files.source
- Name of input XML source. This file is also used for output.public IlpDefaultStorageAdapter(InputStream inputSource, OutputStream outputDestination)
IlpDefaultStorageAdapter
based on streams.inputSource
- Name of input XML source.outputDestination
- Name of output XML destination.public Object getInputSource(Locale locale)
getInputSource
in interface IlpStorageAdapter
locale
- Locale of the presentation data set.public Object getOutputDestination(Locale locale) throws IlpReadOnlyStorageAdapterException
getOutputDestination
in interface IlpStorageAdapter
locale
- Locale of the presentation data set.IlpReadOnlyStorageAdapterException
- if there is no destination.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.