@Override
    public ResourceProvider init(String scheme, Map arguments) {
	if (!StringUtil.isEmpty(scheme)) this.scheme = scheme;

	if (arguments != null) {
	    this.arguments = arguments;
	    Object oCaseSensitive = arguments.get("case-sensitive");
	    if (oCaseSensitive != null) {
		caseSensitive = Caster.toBooleanValue(oCaseSensitive, true);
	    }

	    // lock-timeout
	    Object oTimeout = arguments.get("lock-timeout");
	    if (oTimeout != null) {
		lockTimeout = Caster.toLongValue(oTimeout, lockTimeout);
	    }
	}
	lock.setLockTimeout(lockTimeout);
	lock.setCaseSensitive(caseSensitive);

	root = new RamResourceCore(null, RamResourceCore.TYPE_DIRECTORY, "");
	return this;
    }
@ Override public ResourceProvider init ( String scheme , Map arguments ) { if ( ! StringUtil . isEmpty ( scheme ) ) this . scheme = scheme ; if ( arguments != null ) { this . arguments = arguments ; Object oCaseSensitive = arguments . get ( "case-sensitive" ) ; if ( oCaseSensitive != null ) { caseSensitive = Caster . toBooleanValue ( oCaseSensitive , true ) ; } Object oTimeout = arguments . get ( "lock-timeout" ) ; if ( oTimeout != null ) { lockTimeout = Caster . toLongValue ( oTimeout , lockTimeout ) ; } } lock . setLockTimeout ( lockTimeout ) ; lock . setCaseSensitive ( caseSensitive ) ; root = new RamResourceCore ( null , RamResourceCore . TYPE_DIRECTORY , "" ) ; return this ; }
initialize ram resource

@param scheme
@param arguments
@return RamResource