Package | Description |
---|---|
fr.inria.atlanmod.neoemf.io |
Provides methods and classes for working with I/O and security.
|
Modifier and Type | Method and Description |
---|---|
static Migrator<DataMapper> |
Migrator.fromMapper(DataMapper mapper)
Creates a
Migrator that reads a DataMapper . |
static Migrator<InputStream> |
Migrator.fromXmi(File file)
Creates a
Migrator that reads a XMI file. |
static Migrator<InputStream> |
Migrator.fromXmi(InputStream stream)
Creates a
Migrator that reads XMI content from an InputStream . |
Migrator<T> |
Migrator.toMapper(DataMapper mapper)
Specifies the
mapper where to write the data. |
Migrator<T> |
Migrator.toXmi(File file)
Specifies the XMI
file where to write the data. |
Migrator<T> |
Migrator.toXmi(File file,
boolean useCompression)
Specifies the XMI
file where to write the data. |
Migrator<T> |
Migrator.toXmi(OutputStream stream)
Specifies the
stream where to write the data. |
Migrator<T> |
Migrator.with(EventListener listener)
Adds a pre/post-processing feature.
|
Migrator<T> |
Migrator.withCounter()
Counts the number of processed events (elements, attributes, references).
|
Migrator<T> |
Migrator.withLogger()
Logs each event when they occur.
|
Migrator<T> |
Migrator.withLogger(Level level)
Logs each event when they occur.
|
Migrator<T> |
Migrator.withProgress()
Displays the progress of the migration at regular intervals.
|
Migrator<T> |
Migrator.withTimer()
Displays the amount of time spent during the migration.
|
Copyright © 2013–2019 Atlanmod. All rights reserved.