com.googlecode.jinahya.util.fsm
Interface TaskContext.ResourceLoader

Enclosing class:
TaskContext

protected static interface TaskContext.ResourceLoader

Platform specific resource loader.


Method Summary
 InputStream load(ClassLoader classLoader, String resourceName)
          Loads resource denoted by given resourceName using specified classLoader.
 

Method Detail

load

InputStream load(ClassLoader classLoader,
                 String resourceName)
                 throws IOException,
                        FSMException
Loads resource denoted by given resourceName using specified classLoader.

Parameters:
classLoader - class loader
resourceName - resource name
Returns:
loaded resource; never null
Throws:
IOException - if an I/O error occurs
FSMException - if an error occurs


Copyright © 2011. All Rights Reserved.