class StaticPyramidExtensionModule extends java.lang.Object
A Groovy Extension Module that adds static methods to the Pyramid class.
Constructor and description |
---|
StaticPyramidExtensionModule() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Pyramid |
fromCsv(Pyramid pyramid, java.lang.String csv) Create a Pyramid from a CSV String |
|
static Pyramid |
fromJson(Pyramid pyramid, java.lang.String json) Create a Pyramid from a JSON String |
|
static Pyramid |
fromXml(Pyramid pyramid, java.lang.String xml) Create a Pyramid from an XML String |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a Pyramid from a CSV String
csv
- The CSV StringCreate a Pyramid from a JSON String
json
- The JSON String