jp.sourceforge.simplefh
Class ClassPathResource

java.lang.Object
  extended by jp.sourceforge.simplefh.ClassPathResource

public class ClassPathResource
extends Object

Class path resource

Version:
1.0
Author:
Kazuhiro Sera

Constructor Summary
ClassPathResource(String resourcePath)
          Constructor
 
Method Summary
 String getResourcePath()
          Get resource path.
 void setResourcePath(String resourcePath)
          Set resource path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathResource

public ClassPathResource(String resourcePath)
Constructor

Parameters:
resourcePath - resource path value
Method Detail

getResourcePath

public String getResourcePath()
Get resource path.

Returns:
resource path

setResourcePath

public void setResourcePath(String resourcePath)
                     throws IllegalArgumentException
Set resource path.

Parameters:
resourcePath - resource path
Throws:
IllegalArgumentException - invalid resource path value