com.anthonyeden.lib.resource
Interface ResourceRecipient


public interface ResourceRecipient

ResourceRecipient is implemented by any class which would like to be notifier when a loaded resource changes. When the class receives notification is uses the given InputStream to load the resource.

Note: Implementations do not need to open or close the stream. All stream management will be handled by the ResourceLoader.

Author:
Anthony Eden

Method Summary
 void load(java.io.InputStream in)
          Inform the recipient that it should reload the resource from the given stream.
 

Method Detail

load

public void load(java.io.InputStream in)
          throws java.lang.Exception
Inform the recipient that it should reload the resource from the given stream.

Parameters:
in - The InputStream
Throws:
java.lang.Exception - Any Exception


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.