playn.flash
Class FlashStorage

java.lang.Object
  extended by playn.flash.FlashStorage
All Implemented Interfaces:
Storage

public class FlashStorage
extends Object
implements Storage


Constructor Summary
FlashStorage()
           
 
Method Summary
 String getItem(String key)
           
 boolean isPersisted()
           
 Iterable<String> keys()
           
 void removeItem(String key)
           
 void setItem(String key, String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashStorage

public FlashStorage()
Method Detail

getItem

public String getItem(String key)
Specified by:
getItem in interface Storage

removeItem

public void removeItem(String key)
Specified by:
removeItem in interface Storage

setItem

public void setItem(String key,
                    String data)
             throws RuntimeException
Specified by:
setItem in interface Storage
Throws:
RuntimeException

keys

public Iterable<String> keys()
Specified by:
keys in interface Storage

isPersisted

public boolean isPersisted()
Specified by:
isPersisted in interface Storage


Copyright © 2012. All Rights Reserved.