erland.util
Interface StorageInterface

All Known Implementing Classes:
CookieStorage, FileStorage, JarFileStorage, StreamStorage, StringStorage, XMLStorage

public interface StorageInterface

Defines an inteface for different types of storages that can store a string

Author:
Erland Isaksson

Method Summary
 String load()
          Read data from the storage as a string
 void save(String str)
          Store the specified string
 

Method Detail

save

void save(String str)
Store the specified string

Parameters:
str - String to store

load

String load()
Read data from the storage as a string

Returns:
Data in the storage


Copyright © 2003-2005 Erland Isaksson. All Rights Reserved.