Package com.amazon.ion.apps
Class EncodeApp
java.lang.Object
com.amazon.ion.apps.EncodeApp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected SymbolTablegetLatestSharedSymtab(String name) protected static byte[]loadAsByteArray(File file) protected static byte[]protected voidloadCatalog(String catalogPath) protected voidstatic voidprotected booleanoptionsAreValid(String[] filePaths) protected voidprotected voidprotected voidprotected booleanprocessFile(String path) protected voidprocessFiles(String[] filePaths) protected intprocessOptions(String[] args) protected void
-
Field Details
-
myCatalog
-
mySystem
-
-
Constructor Details
-
EncodeApp
public EncodeApp()
-
-
Method Details
-
main
-
processOptions
- Parameters:
args-- Returns:
- the next index to process
-
process
- Throws:
IOExceptionIonException
-
process
- Throws:
IOExceptionIonException
-
loadAsByteArray
- Parameters:
in- doesn't need to be buffered; this method will read in bulk.- Throws:
IOException
-
loadAsByteArray
- Throws:
FileNotFoundExceptionIOException
-
doMain
-
optionsAreValid
-
processFiles
-
processFile
-
processStdIn
protected void processStdIn() -
process
- Throws:
IOExceptionIonException
-
loadCatalog
-
logDebug
-