org.mule.module.db.internal.util
Interface FileReader

All Known Implementing Classes:
DefaultFileReader

public interface FileReader

Abstracts file reading operations


Method Summary
 String getResourceAsString(String resourceName)
          Attempts to load a resource from the file system, from a URL, or from the classpath, in that order.
 

Method Detail

getResourceAsString

String getResourceAsString(String resourceName)
                           throws IOException
Attempts to load a resource from the file system, from a URL, or from the classpath, in that order.

Parameters:
resourceName - The name of the resource to load
Returns:
the requested resource as a string
Throws:
IOException - in case of an IO error


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.