Top Description Fields Constructors Methods
com.amazon.ion.apps

public Class PrintApp

extends BaseApp
Class Inheritance
Imports
com.amazon.ion.IonException, .IonReader, .IonSystem, .IonWriter, java.io.File, .FileOutputStream, .IOException, .OutputStream

TODO pretty-print on/off and configure TODO show system view (eg symbol tables)

Field Summary

Modifier and TypeField and Description
private File
private String
Inherited from com.amazon.ion.apps.BaseApp:
myCatalogmySystem

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[] args)

protected void
protected void
protected void
protected int

Returns:

the next index to process
processOptions
(String[] args)

Overrides com.amazon.ion.apps.BaseApp.processOptions.

Inherited from com.amazon.ion.apps.BaseApp:
doMaingetLatestSharedSymtabloadAsByteArrayloadAsByteArrayloadCataloglogDebugoptionsAreValidprocessprocessFileprocessFilesprocessStdIn

Field Detail

myOutputDirback to summary
private File myOutputDir
myOutputFileback to summary
private String myOutputFile

Constructor Detail

PrintAppback to summary
public PrintApp()

Method Detail

mainback to summary
public static void main(String[] args)
processback to summary
protected void process(File inputFile, IonReader reader) throws IOException, IonException

Overrides com.amazon.ion.apps.BaseApp.process.

Annotations
@Override
processback to summary
protected void process(IonReader reader) throws IOException, IonException

Overrides com.amazon.ion.apps.BaseApp.process.

Annotations
@Override
processback to summary
protected void process(IonReader reader, OutputStream out) throws IOException, IonException
processOptionsback to summary
protected int processOptions(String[] args)

Overrides com.amazon.ion.apps.BaseApp.processOptions.

Returns:int

the next index to process

Annotations
@Override