From a5e94dd3ed9ab5e1eaba72f6bb694df4c81c17da Mon Sep 17 00:00:00 2001 From: Nafer Sanabria Date: Fri, 18 Nov 2016 04:28:47 -0500 Subject: [PATCH] doc update deprecated documentation of FileIO (#21860) --- akka-docs/rst/java/stream/stages-overview.rst | 6 +++--- akka-docs/rst/scala/stream/stages-overview.rst | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/akka-docs/rst/java/stream/stages-overview.rst b/akka-docs/rst/java/stream/stages-overview.rst index 365a464914..b0ae2c87af 100644 --- a/akka-docs/rst/java/stream/stages-overview.rst +++ b/akka-docs/rst/java/stream/stages-overview.rst @@ -510,14 +510,14 @@ File IO Sinks and Sources ------------------------- Sources and sinks for reading and writing files can be found on ``FileIO``. -fromFile +fromPath ^^^^^^^^ Emit the contents of a file, as ``ByteString`` s, materializes into a ``CompletionStage`` which will be completed with a ``IOResult`` upon reaching the end of the file or if there is a failure. -toFile +toPath ^^^^^^ -Create a sink which will write incoming ``ByteString`` s to a given file. +Create a sink which will write incoming ``ByteString`` s to a given file path. diff --git a/akka-docs/rst/scala/stream/stages-overview.rst b/akka-docs/rst/scala/stream/stages-overview.rst index 5adb5e191b..5db202bb86 100644 --- a/akka-docs/rst/scala/stream/stages-overview.rst +++ b/akka-docs/rst/scala/stream/stages-overview.rst @@ -499,14 +499,14 @@ File IO Sinks and Sources ------------------------- Sources and sinks for reading and writing files can be found on ``FileIO``. -fromFile +fromPath ^^^^^^^^ Emit the contents of a file, as ``ByteString`` s, materializes into a ``Future`` which will be completed with a ``IOResult`` upon reaching the end of the file or if there is a failure. -toFile +toPath ^^^^^^ -Create a sink which will write incoming ``ByteString`` s to a given file. +Create a sink which will write incoming ``ByteString`` s to a given file path.