2
Copyright 2008-2010 Gephi
3
Authors : Mathieu Bastian <mathieu.bastian@gephi.org>
4
Website : http://www.gephi.org
6
This file is part of Gephi.
8
Gephi is free software: you can redistribute it and/or modify
9
it under the terms of the GNU Affero General Public License as
10
published by the Free Software Foundation, either version 3 of the
11
License, or (at your option) any later version.
13
Gephi is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU Affero General Public License for more details.
18
You should have received a copy of the GNU Affero General Public License
19
along with Gephi. If not, see <http://www.gnu.org/licenses/>.
21
package org.gephi.io.exporter.plugin;
23
import org.gephi.io.exporter.api.FileType;
24
import org.gephi.io.exporter.spi.GraphExporter;
25
import org.gephi.io.exporter.spi.GraphFileExporterBuilder;
26
import org.openide.util.NbBundle;
27
import org.openide.util.lookup.ServiceProvider;
31
* @author Mathieu Bastian
33
@ServiceProvider(service = GraphFileExporterBuilder.class)
34
public class ExporterBuilderGDF implements GraphFileExporterBuilder {
36
public GraphExporter buildExporter() {
37
return new ExporterGDF();
40
public FileType[] getFileTypes() {
41
FileType ft = new FileType(".gdf", NbBundle.getMessage(ExporterBuilderGDF.class, "fileType_GDF_Name"));
42
return new FileType[]{ft};
45
public String getName() {