public class ImportCustomPNMLFileType extends Object implements PNMLFileRepository
Modifier and Type | Field and Description |
---|---|
static int |
NBFIELD |
Constructor and Description |
---|
ImportCustomPNMLFileType(String filePath) |
Modifier and Type | Method and Description |
---|---|
CustomPNMLFileType |
getByClassName(String classname) |
CustomPNMLFileType |
getByNamespace(String namespace) |
public static final int NBFIELD
public ImportCustomPNMLFileType(String filePath) throws IOException, BadFileFormatException, OtherException
filePath
- the path to the custom types definitions.IOException
- if a problem occur while reading the file.OtherException
- if a problem occur with xml parse classesBadFileFormatException
- if the xml file is not well formatedpublic final CustomPNMLFileType getByNamespace(String namespace)
getByNamespace
in interface PNMLFileRepository
namespace
- the namespace.public final CustomPNMLFileType getByClassName(String classname)
getByClassName
in interface PNMLFileRepository
classname
- the class nameCopyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.