Class Saved

  • All Implemented Interfaces:
    org.cactoos.Scalar<Path>

    public final class Saved
    extends Object
    implements org.cactoos.Scalar<Path>
    Content saved to the file. Returns path to the file
    Since:
    0.41.0
    • Constructor Detail

      • Saved

        public Saved​(String content,
                     Path target)
        Ctor.
        Parameters:
        content - Content as string
        target - Path to save content to
      • Saved

        public Saved​(org.cactoos.Scalar<String> content,
                     Path target)
        Ctor.
        Parameters:
        content - Content as scalar
        target - Path to save content to
      • Saved

        public Saved​(org.cactoos.Text content,
                     Path target)
        Ctor.
        Parameters:
        content - Content as text
        target - Path to save content to