uk.ac.ncl.cs.instantsoap.r
Class RProcessorBase

java.lang.Object
  extended by uk.ac.ncl.cs.instantsoap.r.RProcessorBase
Direct Known Subclasses:
RDataFrameProcessor

public abstract class RProcessorBase
extends Object

Describe class RProcessorBase here. Created: Fri Jul 4 16:35:05 2008

Version:
1.0
Author:
Phillip Lord

Constructor Summary
RProcessorBase()
           
 
Method Summary
 String executeR(Map<String,String> commandLine)
           
 InputStream getInputStreamForRScript(Class clazz, String rScriptName)
           
abstract  String getRDriverName()
           
 String readStringFromFile(File file)
           
 String readStringFromInputStream(InputStream inp)
           
 void writeStringToFile(File file, String string)
           
 void writeStringToOutputStream(OutputStream outp, String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RProcessorBase

public RProcessorBase()
Method Detail

writeStringToFile

public void writeStringToFile(File file,
                              String string)
                       throws IOException
Throws:
IOException

writeStringToOutputStream

public void writeStringToOutputStream(OutputStream outp,
                                      String string)
                               throws IOException
Throws:
IOException

readStringFromFile

public String readStringFromFile(File file)
                          throws IOException
Throws:
IOException

readStringFromInputStream

public String readStringFromInputStream(InputStream inp)
                                 throws IOException
Throws:
IOException

getInputStreamForRScript

public InputStream getInputStreamForRScript(Class clazz,
                                            String rScriptName)
                                     throws IOException
Throws:
IOException

executeR

public String executeR(Map<String,String> commandLine)
                throws IOException
Throws:
IOException

getRDriverName

public abstract String getRDriverName()


Copyright © 2006-2008. All Rights Reserved.