public static Resource[] decodeContexts(final String[] strings){
  if (strings == null) {
    throw new IllegalArgumentException();
  }
  if (strings.length == 0) {
    return EMPTY_RESOURCE_ARRAY;
  }
  final Resource[] tmp=new Resource[strings.length];
  for (int i=0; i < strings.length; i++) {
    final String s=strings[i];
    if (s == null || s.length() == 0) {
      tmp[i]=null;
    }
 else {
      tmp[i]=decodeResource(s);
    }
  }
  return tmp;
}

public static Resource [ ] decodeContexts ( final String [ ] strings ) { if ( strings == null ) { throw new IllegalArgumentException ( ) ; } if ( strings . length == 0 ) { return EMPTY_RESOURCE_ARRAY ; } final Resource [ ] tmp = new Resource [ strings . length ] ; for ( int i = 0 ; i < strings . length ; i ++ ) { final String s = strings [ i ] ; if ( s == null || s . length ( ) == 0 ) { tmp [ i ] = null ; } else { tmp [ i ] = decodeResource ( s ) ; } } return tmp ; }
decode an array of named graph contexts .
