public class ResourceType extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceType |
ATTACHMENT
Represents an attachment.
|
static ResourceType |
DATA
Represents a image specified as a Data URI.
|
static ResourceType |
DOCUMENT
Represents a Document.
|
static ResourceType |
ICON
Represents an icon.
|
static ResourceType |
INTERWIKI
Represents a document in another wiki.
|
static ResourceType |
MAILTO
Represents a mail.
|
static ResourceType |
PAGE
Represents a Page.
|
static ResourceType |
PATH
Represents a relative URL in the current wiki.
|
static ResourceType |
SPACE
Represents a Space.
|
static ResourceType |
UNC
Represents a UNC (Universal Naming Convention) (eg "\\myserver\myshare\mydoc.txt").
|
static ResourceType |
UNKNOWN
Special type to be used when the type of the resource is not known.
|
static ResourceType |
URL
Represents an URL.
|
static ResourceType |
USER
Represents a user.
|
Constructor and Description |
---|
ResourceType(String scheme) |
public static final ResourceType UNKNOWN
public static final ResourceType DOCUMENT
@Unstable public static final ResourceType PAGE
public static final ResourceType SPACE
public static final ResourceType URL
public static final ResourceType INTERWIKI
public static final ResourceType PATH
public static final ResourceType MAILTO
public static final ResourceType ATTACHMENT
public static final ResourceType ICON
public static final ResourceType UNC
public static final ResourceType USER
public static final ResourceType DATA
public ResourceType(String scheme)
scheme
- see getScheme()
public String getScheme()
Copyright © 2004–2021 XWiki. All rights reserved.