Class Save


  • public final class Save
    extends Object
    Save a file operation.
    Since:
    0.1
    • Constructor Detail

      • Save

        public Save​(org.cactoos.Input input,
                    Path file)
             throws IOException
        Ctor.
        Parameters:
        input - The input
        file - File to save to
        Throws:
        IOException - If fails
      • Save

        public Save​(String txt,
                    Path file)
        Ctor.
        Parameters:
        txt - The content
        file - The path