org.clearsilver
Interface CSFileLoader


public interface CSFileLoader

Interface for CS file hook


Method Summary
 String load(HDF hdf, String filename)
          Callback method that is expected to return the contents of the specified file as a string.
 

Method Detail

load

String load(HDF hdf,
            String filename)
            throws IOException
Callback method that is expected to return the contents of the specified file as a string.

Parameters:
hdf - the HDF structure associated with HDF or CS object making the callback.
filename - the name of the file that should be loaded.
Returns:
a string containing the contents of the file.
Throws:
IOException


Copyright © 2010-2012 Google. All Rights Reserved.