edu.cmu.cs.coral.icf.plan_based.planners
Class PlannerDomainReader

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.PlannerDomainReader

public class PlannerDomainReader
extends java.lang.Object
implements DomainReader

A generic reader for planner domains.

Since:
ICF 0.0
Version:
$Id$

Constructor Summary
PlannerDomainReader()
           
 
Method Summary
 void parseDomain(Domain domain, java.io.InputStream domain_src)
          Read domain information from the specified source and put it in the domain given.
 Domain readDomain(java.io.InputStream domain_src)
          Reads a Domain from the specified input source.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PlannerDomainReader

public PlannerDomainReader()
Method Detail

readDomain

public Domain readDomain(java.io.InputStream domain_src)
Reads a Domain from the specified input source.
Specified by:
readDomain in interface DomainReader
Parameters:
domain_src - a stream containing the domain
Returns:
a domain read from the domain_src
Since:
ICF 0.0

parseDomain

public void parseDomain(Domain domain,
                        java.io.InputStream domain_src)
Read domain information from the specified source and put it in the domain given.
Parameters:
domain - the domain to put the information in
domain_src - the source of the domain information
Since:
ICF 0.0