Deprecated
As of 1.3.1, use FilePersistenceStrategy
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected Object | Returns: the original keythe filename name)Implements abstract com. |
| protected String | Returns: the desired and escaped filenamethe key key)Implements abstract com. |
| protected String |
| FileStreamStrategy | back to summary |
|---|---|
| public FileStreamStrategy(final File baseDirectory) | |
| FileStreamStrategy | back to summary |
|---|---|
| public FileStreamStrategy(final File baseDirectory, final XStream xstream) | |
| escape | back to summary |
|---|---|
| protected String escape(final String key) | |
| extractKey | back to summary |
|---|---|
| protected Object extractKey(final String name) Implements abstract com. Given a filename, the unescape method returns the key which originated it. | |
| getName | back to summary |
|---|---|
| protected String getName(final Object key) Implements abstract com. Given a key, the escape method returns the filename which shall be used. | |
| unescape | back to summary |
|---|---|
| protected String unescape(final String name) | |