org.osjava.oscube.service.store
Interface Store

All Known Implementing Classes:
ConsoleStore, FileStore, JdbcStore, NullStore

public interface Store


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.
 

Method Detail

store

public void store(Result result,
                  com.generationjava.config.Config cfg,
                  Session session)
           throws StoringException
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.

Throws:
StoringException

exists

public boolean exists(Header header,
                      com.generationjava.config.Config cfg,
                      Session session)
               throws StoringException
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.

Throws:
StoringException


Copyright © 2003-2005 OSJava. All Rights Reserved.