org.mule.config
Class ReaderResource

java.lang.Object
  extended by 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.


Constructor Summary
ReaderResource(String description, Reader reader)
           
 
Method Summary
 String getDescription()
           
 Reader getReader()
           
static ReaderResource[] parseResources(String configResources)
           
static ReaderResource[] parseResources(String configResources, String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderResource

public ReaderResource(String description,
                      Reader reader)
Method Detail

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.