Interface PluginDataSourceFactory.ResourceView

  • Enclosing interface:
    PluginDataSourceFactory

    public static interface PluginDataSourceFactory.ResourceView
    A view on the ResourceDescriptor.

    If the content-type is not set on the descriptor, the location is run through the MimetypesFileTypeMap. This means it is guaranteed to be set and is just application/octet-stream in the worst case.

    • Method Detail

      • name

        String name()
        See Also:
        ResourceDescriptor.getName()
      • type

        String type()
        See Also:
        ResourceDescriptor.getType()
      • location

        String location()
        See Also:
        ResourceDescriptor.getLocation()
      • params

        Map<String,​String> params()
        See Also:
        ResourceDescriptor.getParameters()
      • contentType

        String contentType()
        See Also:
        ResourceLocation.getContentType()