1
0
Ответвление 0
BE-Graph/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathWriter.java
Didier Le Botlan 8675c420a8 Unused imports
2023-03-07 12:08:34 +01:00

31 строка
673 Б
Java

package org.insa.graphs.model.io;
import java.io.Closeable;
import java.io.IOException;
import org.insa.graphs.model.Path;
/**
* Base interface that should be implemented by class used to write paths.
*
*/
public interface PathWriter extends Closeable {
/**
* Write the given path.
*
* @param path Path to write.
*
* @throws IOException When an error occurs while writing the path.
*/
public void writePath(Path path) throws IOException;
/**
* Close this graph reader.
*
* @throws IOException if an exception occurs while closing the reader.
*
*/
public void close() throws IOException;
}