Loading application resources
    1.
    发明授权
    Loading application resources 有权
    加载应用程序资源

    公开(公告)号:US07814498B2

    公开(公告)日:2010-10-12

    申请号:US11479951

    申请日:2006-06-30

    IPC分类号: G06F3/00 G06F9/46 G06F7/00

    CPC分类号: G06F17/30876 G06F8/20

    摘要: Described is a technology by which application-related resources are differentiated from other types of resources via a uniform resource identifier (URI) associated with each resource. Application-related resources may include a resource embedded in the application program, at least one content file associated with (e.g., distributed with) the application program, or a resource located on a site from which the application program was deployed. Because of the URI, a creating/loading mechanism may be called using substantially similar calling code to that which is used to call the mechanism for loading another type of resource, thereby providing a consistent programming model. In one example, the URI includes a packaging scheme and authority, or a relative path which may be converted to an absolute URI. The mechanism creates an object corresponding to the application-related resource, and loads the resource or a stream of a compound resource.

    摘要翻译: 描述了通过与每个资源相关联的统一资源标识符(URI)将应用相关资源与其他类型的资源区分开的技术。 应用程序相关资源可以包括嵌入在应用程序中的资源,至少一个与应用程序相关联的内容文件(例如,与应用程序一起分发),或位于应用程序部署的站点上的资源。 由于URI,可以使用与用于调用用于加载另一类型的资源的机制相似的调用代码来调用创建/加载机制,从而提供一致的编程模型。 在一个示例中,URI包括打包方案和权限,或者可以转换为绝对URI的相对路径。 该机制创建与应用程序相关的资源对应的对象,并加载资源或复合资源的流。