public class NetRexxConversion extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
NetRexxConversion.StreamReader
This class reads all the output of a process into a byte array.
|
| Modifier and Type | Field and Description |
|---|---|
int |
convertedFiles
The count of converted files.
|
int |
convertObjectCount
The count of REXX objects to convert.
|
int |
error
The count of errors.
|
LoadProgress |
listener
The progress listener if any (null if not used).
|
| Constructor and Description |
|---|
NetRexxConversion(PhantomRuntime rt)
The constructor that only gives you an instance of the class.
|
NetRexxConversion(PhantomRuntime rt,
LoadProgress listener)
The constructor that only gives you an instance of the class.
|
NetRexxConversion(String fn,
LoadProgress listener)
This constructor that performs all the work.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToList(String file)
Add the file to the list to be compiled in one shot.
|
void |
clean(String orgFn)
Cleans out the files associated with the indicated REXX file.
|
void |
compileAtEnd()
Compiles all Java files at the end.
|
void |
convertRexx(String fn,
int index)
Converts a single REXX file.
|
boolean |
needsCompile(String orgFn)
Check if a file needs to be recompiled.
|
int |
numberOfQueuedFiles()
Get the number of java files that needs to be compiled.
|
boolean |
postponeCompile()
Get whether the compilation to be executed at the end.
|
void |
postponeCompile(boolean postpone)
Set the compilation to be executed at the end.
|
void |
setRuntime(PhantomRuntime rt)
Set the runtime instance.
|
public LoadProgress listener
public int error
public int convertedFiles
public int convertObjectCount
public NetRexxConversion(PhantomRuntime rt)
PhantomRuntime - public NetRexxConversion(PhantomRuntime rt, LoadProgress listener)
PhantomRuntime - public NetRexxConversion(String fn, LoadProgress listener) throws IOException
IOException - for file failures.public void postponeCompile(boolean postpone)
public boolean postponeCompile()
public void addToList(String file)
public void convertRexx(String fn, int index) throws IOException
IOException - for file failures.public boolean needsCompile(String orgFn)
public void clean(String orgFn)
public void setRuntime(PhantomRuntime rt)
public void compileAtEnd()
throws IOException
IOException - for file failures.public int numberOfQueuedFiles()
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2012. All rights reserved.