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
 java.lang.String contentType()
           
 java.lang.String location()
           
 java.lang.String name()
           
 java.util.Map<java.lang.String,java.lang.String> params()
           
 java.lang.String type()
           
 

Method Detail

name

java.lang.String name()
See Also:
ResourceDescriptor.getName()

type

java.lang.String type()
See Also:
ResourceDescriptor.getType()

location

java.lang.String location()
See Also:
ResourceDescriptor.getLocation()

params

java.util.Map<java.lang.String,java.lang.String> params()
See Also:
ResourceDescriptor.getParameters()

contentType

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.