|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.gml.elements.Conversions
public class Conversions
| Constructor Summary | |
|---|---|
Conversions()
|
|
| Method Summary | |
|---|---|
static String |
calendarToString(Calendar calendar)
Formats a Calendar into a String. |
static GCubeDocument |
toDocument(Reader r)
Returns a GCubeDocument from a textual stream. |
static GCubeDocument |
toDocument(org.gcube.data.trees.data.Tree tree)
Converts the specified Tree into a GCubeDocument. |
static org.gcube.data.trees.data.Tree |
toTree(GCubeDocument document)
Converts the a GCubeDocument to a Tree. |
static String |
toXML(GCubeDocument d)
Converts a GCubeDocument into its textual representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conversions()
| Method Detail |
|---|
public static GCubeDocument toDocument(Reader r)
throws Exception
GCubeDocument from a textual stream.
r - the stream.
Exception - if the textual representation is not well-formed.
public static String toXML(GCubeDocument d)
throws Exception
GCubeDocument into its textual representation.
d - the document
Exception - if the conversion could not be performed.
public static GCubeDocument toDocument(org.gcube.data.trees.data.Tree tree)
throws Exception
Tree into a GCubeDocument.
tree - the tree.
Exception
public static org.gcube.data.trees.data.Tree toTree(GCubeDocument document)
throws Exception
GCubeDocument to a Tree.
document - the document.
Exception - if an error occurs during the conversion.public static String calendarToString(Calendar calendar)
Calendar into a String.
calendar - the calendar.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||