com.haley.haleyrules
Interface Stream

All Superinterfaces:
KnowledgeBaseObject, WorkingMemoryObject
All Known Subinterfaces:
FileOutputStream, OutputStream, StringOutputStream

public interface Stream
extends WorkingMemoryObject

The Stream interface represents a named stream that can be used as a parameter to Eclipse/HRML functions, such as (printout)


Method Summary
 void close()
          Closes the stream and removes it from the list of streams available to the working memory
 java.lang.String getName()
          Returns the name for the stream
 
Methods inherited from interface com.haley.haleyrules.WorkingMemoryObject
getWorkingMemory
 
Methods inherited from interface com.haley.haleyrules.KnowledgeBaseObject
getKnowledgeBase, release
 

Method Detail

getName

public java.lang.String getName()
Returns the name for the stream

Returns:
the name for the stream

close

public void close()
           throws java.io.IOException
Closes the stream and removes it from the list of streams available to the working memory

Throws:
java.io.IOException - if the stream could not be closed


Copyright © 1998-2006 Haley Systems, Inc. All Rights Reserved.