public class DiskImporter
extends java.lang.Object
Constructor and Description |
---|
DiskImporter()
Default constructor will set a development server as a URL
and set up a file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getLastError()
Return the last exception from the class.
|
static void |
main(java.lang.String[] args)
The main method.
|
java.lang.Boolean |
send()
Send.
|
java.lang.Boolean |
setInfile(java.lang.String filename)
Set the input file name.
|
java.lang.Boolean |
setURL(java.lang.String connURL)
Set the URL for OLI logging servlet to log to.
|
public DiskImporter()
public static void main(java.lang.String[] args) throws java.io.IOException
args
- the command line argumentsjava.io.IOException
- an IO exceptionpublic java.lang.Boolean setURL(java.lang.String connURL)
connURL
- URL of the servletTRUE
on success, otherwise FALSE
public java.lang.Boolean setInfile(java.lang.String filename)
filename
- The filename to read XML fromTRUE
on success, otherwise FALSE
public java.lang.Boolean send()
public java.lang.Exception getLastError()
Copyright (c) 2015 - Pittsburgh Science of Learning Center