return STATE_BUILDER.loadState( url.toURI() );
URI uri = new URI( url.toString() ); return STATE_BUILDER.loadState( uri );
    private State loadStateFromResource( Class subject )    {        String resource = subject.getName().replace( '.', '/' ) + ".xgraph";        try        {            URL url = subject.getClassLoader().getResource( resource );            if( null == url )            {                return null;            }            else            {                return STATE_BUILDER.loadState( url.toURI() );            }        }        catch( Throwable e )        {            final String error =               "Internal error while attempting to load component state graph resource ["               + resource               + "].";            throw new BuildException( error, e );        }    }