Package com.powsybl.commons.io
Class WorkingDirectory
- java.lang.Object
-
- com.powsybl.commons.io.WorkingDirectory
-
- All Implemented Interfaces:
AutoCloseable
public class WorkingDirectory extends Object implements AutoCloseable
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description WorkingDirectory(Path parentDir, String prefix, boolean debug)
-
-
-
Constructor Detail
-
WorkingDirectory
public WorkingDirectory(Path parentDir, String prefix, boolean debug) throws IOException
- Throws:
IOException
-
-
Method Detail
-
toPath
public Path toPath()
-
isDebug
public boolean isDebug()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
-