com.ibm.dtfj.analyzer.ext
Interface IScript


public interface IScript

Interface for analyzer script engine.


Method Summary
 IAnalyzerBase build(java.io.File file)
          Build an analyzer from the file content.
 void save(java.io.File file, java.util.ArrayList script)
          Save script in a file acceptable by this script engine.
 

Method Detail

save

void save(java.io.File file,
          java.util.ArrayList script)
          throws java.io.IOException
Save script in a file acceptable by this script engine.

Parameters:
file - handle of the file to save the script to.
script - list of Strings representing lines of the script.
Throws:
java.io.IOException - in case of problems preventing operation to complete.

build

IAnalyzerBase build(java.io.File file)
Build an analyzer from the file content.

Parameters:
file - handle of the file containing the script
Returns:
an analyzer implemented by this script or null if file does not have the right format.


© Copyright IBM Corp. 2007, 2008 All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.