public class EncodeApp
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SimpleCatalog |
myCatalog |
protected IonSystem |
mySystem |
Constructor and Description |
---|
EncodeApp() |
Modifier and Type | Method and Description |
---|---|
void |
doMain(java.lang.String[] args) |
protected SymbolTable |
getLatestSharedSymtab(java.lang.String name) |
protected static byte[] |
loadAsByteArray(java.io.File file) |
protected static byte[] |
loadAsByteArray(java.io.InputStream in) |
protected void |
loadCatalog(java.lang.String catalogPath) |
protected void |
logDebug(java.lang.String message) |
static void |
main(java.lang.String[] args) |
protected boolean |
optionsAreValid(java.lang.String[] filePaths) |
protected void |
process(java.io.File file) |
protected void |
process(java.io.File inputFile,
IonReader reader) |
protected void |
process(IonReader reader) |
protected boolean |
processFile(java.lang.String path) |
protected void |
processFiles(java.lang.String[] filePaths) |
protected int |
processOptions(java.lang.String[] args) |
protected void |
processStdIn() |
protected SimpleCatalog myCatalog
protected IonSystem mySystem
public static void main(java.lang.String[] args)
protected int processOptions(java.lang.String[] args)
args
- protected void process(java.io.File inputFile, IonReader reader) throws java.io.IOException, IonException
java.io.IOException
IonException
protected void process(IonReader reader) throws java.io.IOException, IonException
java.io.IOException
IonException
protected static byte[] loadAsByteArray(java.io.InputStream in) throws java.io.IOException
in
- doesn't need to be buffered; this method will read in bulk.java.io.IOException
protected static byte[] loadAsByteArray(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void doMain(java.lang.String[] args)
protected boolean optionsAreValid(java.lang.String[] filePaths)
protected void processFiles(java.lang.String[] filePaths)
protected boolean processFile(java.lang.String path)
protected void processStdIn()
protected void process(java.io.File file) throws java.io.IOException, IonException
java.io.IOException
IonException
protected void loadCatalog(java.lang.String catalogPath)
protected SymbolTable getLatestSharedSymtab(java.lang.String name)
protected void logDebug(java.lang.String message)