|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.wikistream.type.WikiStreamType
@Unstable public class WikiStreamType
Combination of supported wikis and their export types.
| Field Summary | |
|---|---|
static WikiStreamType |
WIKI_XML
Generic WIKI XML Syntax. |
static WikiStreamType |
XWIKI_INSTANCE
The database stream based on oldcore APIs. |
static WikiStreamType |
XWIKI_XAR
The XAR format. |
| Constructor Summary | |
|---|---|
WikiStreamType(WikiType type,
String dataFormat)
|
|
WikiStreamType(WikiType type,
String dataFormat,
String version)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getDataFormat()
|
WikiType |
getType()
|
String |
getVersion()
|
int |
hashCode()
|
String |
serialize()
|
String |
toString()
|
static WikiStreamType |
unserialize(String str)
Create a new WikiStreamType from a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final WikiStreamType WIKI_XML
public static final WikiStreamType XWIKI_XAR
public static final WikiStreamType XWIKI_INSTANCE
| Constructor Detail |
|---|
public WikiStreamType(WikiType type,
String dataFormat)
type - the type of WikidataFormat - the export data format
public WikiStreamType(WikiType type,
String dataFormat,
String version)
type - the type of WikidataFormat - the export data formatversion - the version| Method Detail |
|---|
public WikiType getType()
public String getDataFormat()
public String getVersion()
public String serialize()
String representation of the WikiStreamTypepublic static WikiStreamType unserialize(String str)
WikiStreamType from a String.
str - the String to parse
WikiStreamTypepublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||