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