com.codestreet.messageforge
Class RMapping

java.lang.Object
  extended bycom.codestreet.messageforge.RMapping

public class RMapping
extends java.lang.Object

Mappings class to manage XML mappings.

Author:
Jawaid Hakim.

Constructor Summary
RMapping()
          Ctor.
 
Method Summary
 void loadMapping(java.lang.String filePath)
          Load mappings from file.
 void loadMapping(java.net.URL url)
          Load mappings from URL resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMapping

public RMapping()
Ctor.

Method Detail

loadMapping

public void loadMapping(java.lang.String filePath)
                 throws MappingException
Load mappings from file.

Parameters:
filePath - File to load.
Throws:
MappingException

loadMapping

public void loadMapping(java.net.URL url)
                 throws MappingException
Load mappings from URL resource.

Parameters:
url - URL of resource.
Throws:
MappingException


Copyright © 2003-2006 CodeStreet. All Rights Reserved.