|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.sdklib.devices.DeviceWriter
public class DeviceWriter
Field Summary | |
---|---|
static java.lang.String |
LOCAL_NS
|
static java.lang.String |
PREFIX
|
Method Summary | |
---|---|
static void |
writeToXml(java.io.OutputStream out,
java.util.Collection<Device> devices)
Writes the XML definition of the given Collection of Device s according to
DeviceSchema.NS_DEVICES_URI to the OutputStream . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOCAL_NS
public static final java.lang.String PREFIX
Method Detail |
---|
public static void writeToXml(java.io.OutputStream out, java.util.Collection<Device> devices) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerFactoryConfigurationError, javax.xml.transform.TransformerException
Collection
of Device
s according to
DeviceSchema.NS_DEVICES_URI
to the OutputStream
.
Note that it is up to the caller to close the OutputStream
.
out
- The OutputStream
to write the resulting XML to.devices
- The Device
s from which to generate the XML.
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |