autohit.vm.process
Class StringProcessors

java.lang.Object
  extended byautohit.vm.process.StringProcessors

public class StringProcessors
extends java.lang.Object

String processing routines.

Version:
1.0 Version History EPG - Rewrite - 13Sep03
Author:
Erich P. Gatejen

Constructor Summary
StringProcessors()
           
 
Method Summary
static void evalStreams2Core(java.io.InputStream in, java.io.OutputStream out, VMCore core)
          Process String (as a byte stream) to Core (as a byte stream).
static java.lang.String evalString2Core(java.lang.String s, VMCore core)
          Process String to Core (as a character stream).
static java.lang.String evalString2CoreOLD(java.lang.String s, VMCore core)
          Process String to Core.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringProcessors

public StringProcessors()
Method Detail

evalStreams2Core

public static void evalStreams2Core(java.io.InputStream in,
                                    java.io.OutputStream out,
                                    VMCore core)
                             throws java.lang.Exception
Process String (as a byte stream) to Core (as a byte stream). If there is a problem, you'll get a VMException.

Parameters:
core - The Core to use
Returns:
The completed string
Throws:
VMException
java.lang.Exception

evalString2Core

public static java.lang.String evalString2Core(java.lang.String s,
                                               VMCore core)
                                        throws java.lang.Exception
Process String to Core (as a character stream). If there is a problem, you'll get a VMException.

Parameters:
s - String to eval
core - The Core to use
Returns:
The completed string
Throws:
VMException
java.lang.Exception

evalString2CoreOLD

public static java.lang.String evalString2CoreOLD(java.lang.String s,
                                                  VMCore core)
                                           throws java.lang.Exception
Process String to Core. If there is a problem, you'll get a VMException. OLD VERSION

Parameters:
s - String to eval
core - The Core to use
Returns:
The completed string
Throws:
VMException
java.lang.Exception


Test.