public static Resources open(InputStream resource,int dpi) throws IOException {
  return new Resources(resource,dpi);
}

public static Resources open ( InputStream resource , int dpi ) throws IOException { return new Resources ( resource , dpi ) ; }
creates a resource object from the given input stream
