com.atlassian.confluence.core
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 Summary
 String contentType()
           
 String location()
           
 String name()
           
 Map<String,String> params()
           
 String type()
           
 

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()


Copyright © 2003–2015 Atlassian. All rights reserved.