org.codehaus.wadi.core.store
Class DiscStore
java.lang.Object
org.codehaus.wadi.core.store.DiscStore
- All Implemented Interfaces:
- Store
public class DiscStore
- extends java.lang.Object
- implements Store
- Version:
- $Revision: 2293 $
- Author:
- Jules Gosnell
Nested classes/interfaces inherited from interface org.codehaus.wadi.core.store.Store |
Store.Putter |
Constructor Summary |
DiscStore(Streamer streamer,
java.io.File dir,
boolean reusingStore,
boolean accessOnLoad)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_streamer
protected final Streamer _streamer
_dir
protected final java.io.File _dir
_reusingStore
protected final boolean _reusingStore
DiscStore
public DiscStore(Streamer streamer,
java.io.File dir,
boolean reusingStore,
boolean accessOnLoad)
throws java.lang.Exception
- Throws:
java.lang.Exception
clean
public void clean()
- Specified by:
clean
in interface Store
load
public void load(Store.Putter putter)
- Specified by:
load
in interface Store
create
public Motable create()
- Specified by:
create
in interface Store
getReusingStore
public boolean getReusingStore()
delete
public void delete(Motable motable)
- Specified by:
delete
in interface Store
insert
public void insert(Motable motable)
throws java.lang.Exception
- Specified by:
insert
in interface Store
- Throws:
java.lang.Exception
loadBody
public byte[] loadBody(Motable motable)
throws java.lang.Exception
- Specified by:
loadBody
in interface Store
- Throws:
java.lang.Exception
update
public void update(Motable motable)
throws java.lang.Exception
- Specified by:
update
in interface Store
- Throws:
java.lang.Exception
Copyright © 2008. All Rights Reserved.