cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.utils
Class ConverterUtils
java.lang.Object
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.utils.ConverterUtils
public final class ConverterUtils
- extends java.lang.Object
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transferTags2List
public static java.util.List transferTags2List(Element tagsElm)
- convert tags element to tag list.
- Parameters:
tagsElm
- tags element
- Returns:
- object list
toBoxFolder
public static BoxFolder toBoxFolder(Element folderElm)
- Parameters:
folderElm
- folder element
- Returns:
- object
toBoxFile
public static BoxFile toBoxFile(Element infoElm)
- Parameters:
infoElm
- info element
- Returns:
- object
toFriendsList
public static java.util.List toFriendsList(Element friendsElm)
- Parameters:
friendsElm
- friends element
- Returns:
- object list
toBox
public static Box toBox(Element boxElm)
- Parameters:
boxElm
- box element
- Returns:
- object
toSubscription
public static BoxSubscription toSubscription(Element subscriptionElm)
- Parameters:
subscriptionElm
- subscription element
- Returns:
- object