(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// Example of using StAX to split a large XML document and parse a single element using XmlSlurper | |
import javax.xml.stream.XMLInputFactory | |
import javax.xml.stream.XMLStreamReader | |
import javax.xml.transform.Transformer | |
import javax.xml.transform.TransformerFactory | |
import javax.xml.transform.sax.SAXResult | |
import javax.xml.transform.stax.StAXSource | |
def url = new URL("http://repo2.maven.org/maven2/archetype-catalog.xml") |