Top Description Constructors Methods
com.amazon.ion.system

public final Class SystemFactory

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
com.amazon.ion.IonCatalog, .IonSystem

Deprecated

Use the more configurable IonSystemBuilder instead.

The factory for creating IonSystems. Most applications will only have one or two system instances; see IonSystem for important constraints.

Most long-lived applications will want to provide a custom IonCatalog implementation rather than using the default SimpleCatalog.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IonSystem

Returns:

a new IonSystem instance; not null.
newSystem
()
Deprecated Use IonSystemBuilder.standard().build() instead.

Constructs a new system instance with a default configuration.

public static IonSystem

Returns:

a new IonSystem instance; not null.
newSystem
(IonCatalog
the catalog to use in the new system. If null, a new SimpleCatalog will be used.
catalog
)

Constructs a new system instance with the given catalog.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SystemFactoryback to summary
public SystemFactory()

Method Detail

newSystemback to summary
public static IonSystem newSystem()

Deprecated

Use IonSystemBuilder.standard().build() instead.

Constructs a new system instance with a default configuration.

The catalog used by the new instance will be a SimpleCatalog with no initial entries, so please be aware of the limitations of that class.

Returns:IonSystem

a new IonSystem instance; not null.

Annotations
@Deprecated
newSystemback to summary
public static IonSystem newSystem(IonCatalog catalog)

Constructs a new system instance with the given catalog.

Parameters
catalog:IonCatalog

the catalog to use in the new system. If null, a new SimpleCatalog will be used.

Returns:IonSystem

a new IonSystem instance; not null.

Annotations
@Deprecated