IonSystemBuilder
instead.@Deprecated public final class SystemFactory extends Object
IonSystem
s.
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 and Description |
---|
SystemFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IonSystem |
newSystem()
Deprecated.
Use
IonSystemBuilder.standard().build() instead. |
static IonSystem |
newSystem(IonCatalog catalog)
Deprecated.
|
@Deprecated public static IonSystem newSystem()
IonSystemBuilder.standard().build()
instead.
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.
IonSystem
instance; not null.@Deprecated public static IonSystem newSystem(IonCatalog catalog)
IonSystemBuilder.standard().withCatalog(catalog).build()
instead.catalog
- the catalog to use in the new system.
If null, a new SimpleCatalog
will be used.IonSystem
instance; not null.