public class FileStreamStrategy extends AbstractFilePersistenceStrategy implements StreamStrategy
AbstractFilePersistenceStrategy.ValidFilenameFilter, AbstractFilePersistenceStrategy.XmlMapEntriesIterator
Constructor and Description |
---|
FileStreamStrategy(File baseDirectory)
Deprecated.
|
FileStreamStrategy(File baseDirectory,
XStream xstream)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
escape(String key)
Deprecated.
|
protected Object |
extractKey(String name)
Deprecated.
Given a filename, the unescape method returns the key which originated it.
|
protected String |
getName(Object key)
Deprecated.
Given a key, the escape method returns the filename which shall be used.
|
protected String |
unescape(String name)
Deprecated.
|
containsKey, get, getConverterLookup, getMapper, isValid, iterator, put, remove, size
public FileStreamStrategy(File baseDirectory)
protected Object extractKey(String name)
extractKey
in class AbstractFilePersistenceStrategy
name
- the filenameprotected String getName(Object key)
getName
in class AbstractFilePersistenceStrategy
key
- the keyCopyright © 2004–2017 XStream. All rights reserved.