org.mule.config
Class ReaderResource
java.lang.Object
org.mule.config.ReaderResource
public class ReaderResource
- extends Object
ReaderResource
is a reader with a description associated with it.
This is useful for error resolution as the reader description can be included when
reporting errors during reading the resource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderResource
public ReaderResource(String description,
Reader reader)
getDescription
public String getDescription()
getReader
public Reader getReader()
parseResources
public static ReaderResource[] parseResources(String configResources,
String encoding)
throws IOException
- Throws:
IOException
parseResources
public static ReaderResource[] parseResources(String configResources)
throws IOException
- Throws:
IOException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.