public interface ModelStreamer
Modifier and Type | Method and Description |
---|---|
Factory |
load(InputStream in)
Loads a factory (and all its associated Java program elements).
|
void |
save(Factory f,
OutputStream out)
Saves a factory (and all its associated Java program elements).
|
void save(Factory f, OutputStream out) throws IOException
Environment.setCompressionType(spoon.support.CompressionType)
f
- the factory to be saveout
- the used output streamIOException
- if some IO error occursFactory load(InputStream in) throws IOException
CompressionType
in
- the used input streamIOException
- if some IO error occursCopyright © 2007–2019 Inria. All rights reserved.