Package org.eolang.maven
Class Save
- java.lang.Object
-
- org.eolang.maven.Save
-
public final class Save extends Object
Save a file operation.- Since:
- 0.1
-
-
Constructor Detail
-
Save
public Save(InputStream input, Path file) throws IOException
Ctor.- Parameters:
input- The inputfile- File to save to- Throws:
IOException- If fails
-
Save
public Save(org.cactoos.Input input, Path file) throws IOExceptionCtor.- Parameters:
input- The inputfile- File to save to- Throws:
IOException- If fails
-
-
Method Detail
-
save
public void save() throws IOExceptionSave the file to the path.- Throws:
IOException- If fails
-
-