public void setResourceBase ( String resourceBase ) { try { _resourceBase = Resource . newResource ( resourceBase ) ; if ( log . isDebugEnabled ( ) ) log . debug ( "resourceBase=" + _resourceBase + " for " + this ) ; } catch ( IOException e ) { log . debug ( LogSupport . EXCEPTION , e ) ; throw new IllegalArgumentException ( resourceBase + ":" + e . toString ( ) ) ; } }
Set the Resource Base . The base resource is the Resource to use as a relative base for all context resources . The ResourceBase attribute is a string version of the baseResource . If a relative file is passed it is converted to a file URL based on the current working directory .