|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ap.store.MemoryStore
| Constructor Summary | |
MemoryStore(java.lang.String name)
|
|
MemoryStore(java.lang.String name,
Content provider)
|
|
| Method Summary | |
Store |
add(java.lang.String name)
Creates a new store and adds it as children |
Store |
add(java.lang.String name,
Content content)
|
void |
attach(Store store)
reserved not yet defined |
Store |
child(java.lang.String name)
Returns the child store with the given name |
java.util.Collection |
children()
|
int |
compareTo(java.lang.Object obj)
|
void |
create()
Creates the store regarding to the persistent storage (if applicable) |
boolean |
delete()
Deletes the store and its content |
void |
detach(Store store)
reserved not yet defined |
boolean |
exists()
|
java.lang.String |
getName()
|
Store |
getParent()
|
java.lang.String |
getType()
|
java.io.InputStream |
input()
|
java.io.OutputStream |
output()
|
java.io.PrintWriter |
printWriter()
|
java.io.Reader |
reader()
|
boolean |
remove(java.lang.String name)
Removes the child with the given name from the children list |
void |
setParent(Store store)
|
void |
sync()
Flushes, writes, on persistent storage data that need to be saved (if applicable) |
java.lang.String |
toString()
|
java.io.Writer |
writer()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MemoryStore(java.lang.String name)
public MemoryStore(java.lang.String name,
Content provider)
| Method Detail |
public java.lang.String getName()
getName in interface Storepublic java.lang.String getType()
getType in interface Storepublic void sync()
Store
sync in interface Storepublic void create()
Store
create in interface Storepublic boolean exists()
exists in interface Storepublic boolean delete()
Store
delete in interface Storepublic java.io.InputStream input()
input in interface Storepublic java.io.OutputStream output()
output in interface Storepublic java.io.Reader reader()
reader in interface Storepublic java.io.Writer writer()
writer in interface Storepublic java.io.PrintWriter printWriter()
printWriter in interface Storepublic Store getParent()
getParent in interface Storepublic void setParent(Store store)
setParent in interface Storepublic void attach(Store store)
Store
attach in interface Storepublic void detach(Store store)
Store
detach in interface Storepublic java.util.Collection children()
children in interface Storepublic Store child(java.lang.String name)
Store
child in interface Storename - of the child to retrieve
public Store add(java.lang.String name)
Store
add in interface Storename - of the new child
public Store add(java.lang.String name,
Content content)
public boolean remove(java.lang.String name)
Store
remove in interface Storename - the name of the child to remove
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||