Jetif v1.8.0

jetif
Interface SpecLoader


public interface SpecLoader

A spec loader is an object that is responsible for loading suite specs.

Author:
Vicky Wang

Method Summary
 SuiteSpec load(String name)
          Load the suite spec from specified spec source.
 

Method Detail

load

public SuiteSpec load(String name)
               throws SpecException
Load the suite spec from specified spec source. The implementation should parse the spec source name and returns a valid SuiteSpec object. or throw a SpecException if any error occurs.

Parameters:
name - the spec source name, maybe a file name, a class name or anything else that can be parsed by the particular implementation.
Returns:
the suite spec object loaded.
Throws:
SpecException - if error occurs when loading the spec.

Jetif v1.8.0

Copyright © 2004,2005 Vicky Wang - All Rights Reserved.