|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.bridge.internal.DefaultAttachmentNameFactory
AttachmentReferenceResolver instead since 2.2M1
@Component @Singleton @Deprecated public class DefaultAttachmentNameFactory
Implementation that supports the format defined in createAttachmentName(String).
| Field Summary | |
|---|---|
static java.lang.String |
FILENAME_SEPARATOR
Deprecated. Character to separate document name from filename, see createAttachmentName(String). |
| Constructor Summary | |
|---|---|
DefaultAttachmentNameFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
AttachmentName |
createAttachmentName(java.lang.String reference)
Deprecated. The supported formats are: wiki:space.page@filename filename If no "@" symbol is found then the reference is the attachment's filename and the document is the current document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FILENAME_SEPARATOR
createAttachmentName(String).
| Constructor Detail |
|---|
public DefaultAttachmentNameFactory()
| Method Detail |
|---|
public AttachmentName createAttachmentName(java.lang.String reference)
createAttachmentName in interface AttachmentNameFactoryreference - the attachment's name as a string using a textual format
(eg wiki:space.page@attachment). The supported format is up to implementers of this method.
AttachmentNameFactory.createAttachmentName(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||