com.knowgate.surveys
Class DataMiner

java.lang.Object
  extended by com.knowgate.surveys.DataMiner

public class DataMiner
extends java.lang.Object

Data Minning routines for Surveys

This is an experimental module, not yet ready for production purposes.


Field Summary
static int OUTPUT_CSV
           
static int OUTPUT_TSV
           
static int OUTPUT_XML
           
static int RESULTS_ABSOLUTE
           
static int RESULTS_PERCENTAGE
           
 
Constructor Summary
DataMiner()
           
 
Method Summary
static java.lang.String getAnswerCross(JDCConnection oConn, java.lang.String sGuPageSet, java.lang.String sStorage, java.lang.String sEnc, java.lang.String sNmQuestion, java.lang.String sNmCross, int iResultsType, int iOutputType)
           
static java.lang.String getAnswerResults(JDCConnection oConn, java.lang.String sGuPageSet, java.lang.String sStorage, java.lang.String sEnc, java.lang.String sNmQuestion, int iResultsType, int iOutputType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULTS_ABSOLUTE

public static final int RESULTS_ABSOLUTE
See Also:
Constant Field Values

RESULTS_PERCENTAGE

public static final int RESULTS_PERCENTAGE
See Also:
Constant Field Values

OUTPUT_XML

public static final int OUTPUT_XML
See Also:
Constant Field Values

OUTPUT_CSV

public static final int OUTPUT_CSV
See Also:
Constant Field Values

OUTPUT_TSV

public static final int OUTPUT_TSV
See Also:
Constant Field Values
Constructor Detail

DataMiner

public DataMiner()
Method Detail

getAnswerResults

public static java.lang.String getAnswerResults(JDCConnection oConn,
                                                java.lang.String sGuPageSet,
                                                java.lang.String sStorage,
                                                java.lang.String sEnc,
                                                java.lang.String sNmQuestion,
                                                int iResultsType,
                                                int iOutputType)
                                         throws java.io.UnsupportedEncodingException,
                                                java.io.FileNotFoundException,
                                                java.io.IOException,
                                                java.sql.SQLException,
                                                JiBXException,
                                                java.lang.IllegalArgumentException,
                                                java.lang.ArrayIndexOutOfBoundsException,
                                                java.lang.OutOfMemoryError
Throws:
java.io.UnsupportedEncodingException
java.io.FileNotFoundException
java.io.IOException
java.sql.SQLException
JiBXException
java.lang.IllegalArgumentException
java.lang.ArrayIndexOutOfBoundsException
java.lang.OutOfMemoryError

getAnswerCross

public static java.lang.String getAnswerCross(JDCConnection oConn,
                                              java.lang.String sGuPageSet,
                                              java.lang.String sStorage,
                                              java.lang.String sEnc,
                                              java.lang.String sNmQuestion,
                                              java.lang.String sNmCross,
                                              int iResultsType,
                                              int iOutputType)
                                       throws java.io.UnsupportedEncodingException,
                                              java.io.FileNotFoundException,
                                              java.io.IOException,
                                              java.sql.SQLException,
                                              JiBXException,
                                              java.lang.IllegalArgumentException,
                                              java.lang.ArrayIndexOutOfBoundsException,
                                              java.lang.OutOfMemoryError
Throws:
java.io.UnsupportedEncodingException
java.io.FileNotFoundException
java.io.IOException
java.sql.SQLException
JiBXException
java.lang.IllegalArgumentException
java.lang.ArrayIndexOutOfBoundsException
java.lang.OutOfMemoryError