org.osjava.oscube.service.store
Class NullStore

java.lang.Object
  extended byorg.osjava.oscube.service.store.NullStore
All Implemented Interfaces:
Store

public class NullStore
extends Object
implements Store


Constructor Summary
NullStore()
           
 
Method Summary
 boolean exists(Header header, com.generationjava.config.Config cfg, Session session)
          Does this Header for a possible Result exist already? This is designed to try and stop parsing of stuff already parsed, though it's not implemented yet.
 void store(Result result, com.generationjava.config.Config cfg, Session session)
          Place the Result in a store of some kind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullStore

public NullStore()
Method Detail

store

public void store(Result result,
                  com.generationjava.config.Config cfg,
                  Session session)
           throws StoringException
Description copied from interface: Store
Place the Result in a store of some kind. This store does not have to be persistent, it could be memory-based or the screen.

Specified by:
store in interface Store
Throws:
StoringException

exists

public boolean exists(Header header,
                      com.generationjava.config.Config cfg,
                      Session session)
               throws StoringException
Description copied from interface: Store
Does this Header for a possible Result exist already? This is designed to try and stop parsing of stuff already parsed, though it's not implemented yet.

Specified by:
exists in interface Store
Throws:
StoringException


Copyright © 2003-2005 OSJava. All Rights Reserved.