lib
Interface ILAPReader

All Known Implementing Classes:
DotLapReader

public interface ILAPReader

The ILapReader interface defines methods that all classes that read in BOD behaviour specifications must implement. This allows abstraction from the underlying file formats, providing the classes are capable of producing the LearnableActionPattern object at the end.

Version:
1.0
Author:
CobaltSoftware (abode.devteam@cobaltsoftware.net)

Method Summary
 boolean canRead(java.lang.String fileName)
          Is the specified file readable to this class?
 LearnableActionPattern load(java.lang.String fileName)
          Load the specified file and get an action pattern
 

Method Detail

canRead

boolean canRead(java.lang.String fileName)
Is the specified file readable to this class?

Parameters:
fileName - Path to the file to read
Returns:
True if readable, false if not

load

LearnableActionPattern load(java.lang.String fileName)
                            throws java.io.FileNotFoundException,
                                   java.io.IOException,
                                   java.lang.Exception
Load the specified file and get an action pattern

Parameters:
fileName - File to load
Returns:
Loaded file in the form of an object model
Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception