net.sf.uadetector.writer
Class IniDataWriter

java.lang.Object
  extended by net.sf.uadetector.writer.IniDataWriter

@ThreadSafe
public final class IniDataWriter
extends java.lang.Object

This utility is intended to transform an instance of Data into an UAS data conform XML document and allows us to recreate an uas.xml.

Author:
André Rouél

Method Summary
static void write(Data data, java.io.OutputStream outputStream)
          Transforms a given Data instance into XML and writes it to the passed in OutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public static void write(@Nonnull
                         Data data,
                         @Nonnull
                         java.io.OutputStream outputStream)
                  throws java.io.IOException
Transforms a given Data instance into XML and writes it to the passed in OutputStream.

Parameters:
data - Data to transform into XML
outputStream - output stream to write
Throws:
java.io.IOException - if the given output stream can not be written


Copyright © 2011-2014. All Rights Reserved.