|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.AttachmentResourceIdentifierOnlyUriResolver
public class AttachmentResourceIdentifierOnlyUriResolver
Resolves a uri for an attachment which only looks at the supplied resource identifiyer. This will always return an absolute uri.
Constructor Summary | |
---|---|
AttachmentResourceIdentifierOnlyUriResolver(SettingsManager settingsManager)
|
Method Summary | |
---|---|
java.net.URI |
resolve(AttachmentResourceIdentifier resourceIdentifier,
ConversionContext conversionContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentResourceIdentifierOnlyUriResolver(SettingsManager settingsManager)
Method Detail |
---|
public java.net.URI resolve(AttachmentResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
resolve
in interface ResourceIdentifierResolver<AttachmentResourceIdentifier,java.net.URI>
resourceIdentifier
- resource identifierconversionContext
- the conversion context
CannotResolveResourceIdentifierException
- if the specified resource identifier cannot be resolved (this shouldn't typically happen unless someone has removed the resource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |