## Method `ArvadosFile$new`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
myFile <- ArvadosFile$new("myFile")\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$getName`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
arvadosFile$getName()\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$getFileListing`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
arvadosFile$getFileListing()\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$getSizeInBytes`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
arvadosFile$getSizeInBytes()\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$read`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
fileContent <- arvadosFile$read("text")\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$connection`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
arvConnection <- arvadosFile$connection("w")\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$flush`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
myFile$write("This is new file content")\r
arvadosFile$flush()\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$write`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
myFile$write("This is new file content")\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$move`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
arvadosFile$move(newPath)\r
+}\r
\r
## ------------------------------------------------\r
## Method `ArvadosFile$copy`\r
## ------------------------------------------------\r
\r
+\dontrun{\r
arvadosFile$copy("NewName.format")\r
}\r
+}\r
\section{Methods}{\r
\subsection{Public methods}{\r
\itemize{\r
-\item \href{#method-new}{\code{ArvadosFile$new()}}\r
-\item \href{#method-getName}{\code{ArvadosFile$getName()}}\r
-\item \href{#method-getFileListing}{\code{ArvadosFile$getFileListing()}}\r
-\item \href{#method-getSizeInBytes}{\code{ArvadosFile$getSizeInBytes()}}\r
-\item \href{#method-get}{\code{ArvadosFile$get()}}\r
-\item \href{#method-getFirst}{\code{ArvadosFile$getFirst()}}\r
-\item \href{#method-getCollection}{\code{ArvadosFile$getCollection()}}\r
-\item \href{#method-setCollection}{\code{ArvadosFile$setCollection()}}\r
-\item \href{#method-getRelativePath}{\code{ArvadosFile$getRelativePath()}}\r
-\item \href{#method-getParent}{\code{ArvadosFile$getParent()}}\r
-\item \href{#method-setParent}{\code{ArvadosFile$setParent()}}\r
-\item \href{#method-read}{\code{ArvadosFile$read()}}\r
-\item \href{#method-connection}{\code{ArvadosFile$connection()}}\r
-\item \href{#method-flush}{\code{ArvadosFile$flush()}}\r
-\item \href{#method-write}{\code{ArvadosFile$write()}}\r
-\item \href{#method-move}{\code{ArvadosFile$move()}}\r
-\item \href{#method-copy}{\code{ArvadosFile$copy()}}\r
-\item \href{#method-duplicate}{\code{ArvadosFile$duplicate()}}\r
+\item \href{#method-ArvadosFile-new}{\code{ArvadosFile$new()}}\r
+\item \href{#method-ArvadosFile-getName}{\code{ArvadosFile$getName()}}\r
+\item \href{#method-ArvadosFile-getFileListing}{\code{ArvadosFile$getFileListing()}}\r
+\item \href{#method-ArvadosFile-getSizeInBytes}{\code{ArvadosFile$getSizeInBytes()}}\r
+\item \href{#method-ArvadosFile-get}{\code{ArvadosFile$get()}}\r
+\item \href{#method-ArvadosFile-getFirst}{\code{ArvadosFile$getFirst()}}\r
+\item \href{#method-ArvadosFile-getCollection}{\code{ArvadosFile$getCollection()}}\r
+\item \href{#method-ArvadosFile-setCollection}{\code{ArvadosFile$setCollection()}}\r
+\item \href{#method-ArvadosFile-getRelativePath}{\code{ArvadosFile$getRelativePath()}}\r
+\item \href{#method-ArvadosFile-getParent}{\code{ArvadosFile$getParent()}}\r
+\item \href{#method-ArvadosFile-setParent}{\code{ArvadosFile$setParent()}}\r
+\item \href{#method-ArvadosFile-read}{\code{ArvadosFile$read()}}\r
+\item \href{#method-ArvadosFile-connection}{\code{ArvadosFile$connection()}}\r
+\item \href{#method-ArvadosFile-flush}{\code{ArvadosFile$flush()}}\r
+\item \href{#method-ArvadosFile-write}{\code{ArvadosFile$write()}}\r
+\item \href{#method-ArvadosFile-move}{\code{ArvadosFile$move()}}\r
+\item \href{#method-ArvadosFile-copy}{\code{ArvadosFile$copy()}}\r
+\item \href{#method-ArvadosFile-duplicate}{\code{ArvadosFile$duplicate()}}\r
}\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-new"></a>}}\r
-\if{latex}{\out{\hypertarget{method-new}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-new"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-new}{}}}\r
\subsection{Method \code{new()}}{\r
Initialize new enviroment.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{myFile <- ArvadosFile$new("myFile")\r
+\preformatted{\dontrun{\r
+myFile <- ArvadosFile$new("myFile")\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getName"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getName}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getName"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getName}{}}}\r
\subsection{Method \code{getName()}}{\r
Returns name of the file.\r
\subsection{Usage}{\r
\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{arvadosFile$getName()\r
+\preformatted{\dontrun{\r
+arvadosFile$getName()\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getFileListing"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getFileListing}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getFileListing"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getFileListing}{}}}\r
\subsection{Method \code{getFileListing()}}{\r
Returns collections file content as character vector.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{arvadosFile$getFileListing()\r
+\preformatted{\dontrun{\r
+arvadosFile$getFileListing()\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getSizeInBytes"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getSizeInBytes}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getSizeInBytes"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getSizeInBytes}{}}}\r
\subsection{Method \code{getSizeInBytes()}}{\r
Returns collections content size in bytes.\r
\subsection{Usage}{\r
\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{arvadosFile$getSizeInBytes()\r
+\preformatted{\dontrun{\r
+arvadosFile$getSizeInBytes()\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-get"></a>}}\r
-\if{latex}{\out{\hypertarget{method-get}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-get"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-get}{}}}\r
\subsection{Method \code{get()}}{\r
\subsection{Usage}{\r
\if{html}{\out{<div class="r">}}\preformatted{ArvadosFile$get(fileLikeObjectName)}\if{html}{\out{</div>}}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getFirst"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getFirst}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getFirst"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getFirst}{}}}\r
\subsection{Method \code{getFirst()}}{\r
\subsection{Usage}{\r
\if{html}{\out{<div class="r">}}\preformatted{ArvadosFile$getFirst()}\if{html}{\out{</div>}}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getCollection"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getCollection}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getCollection"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getCollection}{}}}\r
\subsection{Method \code{getCollection()}}{\r
Returns collection UUID.\r
\subsection{Usage}{\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-setCollection"></a>}}\r
-\if{latex}{\out{\hypertarget{method-setCollection}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-setCollection"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-setCollection}{}}}\r
\subsection{Method \code{setCollection()}}{\r
Sets new collection.\r
\subsection{Usage}{\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getRelativePath"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getRelativePath}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getRelativePath"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getRelativePath}{}}}\r
\subsection{Method \code{getRelativePath()}}{\r
Returns file path relative to the root.\r
\subsection{Usage}{\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-getParent"></a>}}\r
-\if{latex}{\out{\hypertarget{method-getParent}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-getParent"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-getParent}{}}}\r
\subsection{Method \code{getParent()}}{\r
Returns project UUID.\r
\subsection{Usage}{\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-setParent"></a>}}\r
-\if{latex}{\out{\hypertarget{method-setParent}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-setParent"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-setParent}{}}}\r
\subsection{Method \code{setParent()}}{\r
Sets project collection.\r
\subsection{Usage}{\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-read"></a>}}\r
-\if{latex}{\out{\hypertarget{method-read}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-read"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-read}{}}}\r
\subsection{Method \code{read()}}{\r
Read file content.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{collection <- Collection$new(arv, collectionUUID)\r
+\preformatted{\dontrun{\r
+collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
fileContent <- arvadosFile$read("text")\r
}\r
+}\r
\if{html}{\out{</div>}}\r
\r
}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-connection"></a>}}\r
-\if{latex}{\out{\hypertarget{method-connection}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-connection"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-connection}{}}}\r
\subsection{Method \code{connection()}}{\r
Get connection opened in "read" or "write" mode.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{collection <- Collection$new(arv, collectionUUID)\r
+\preformatted{\dontrun{\r
+collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
arvConnection <- arvadosFile$connection("w")\r
}\r
+}\r
\if{html}{\out{</div>}}\r
\r
}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-flush"></a>}}\r
-\if{latex}{\out{\hypertarget{method-flush}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-flush"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-flush}{}}}\r
\subsection{Method \code{flush()}}{\r
Write connections content to a file or override current content of the file.\r
\subsection{Usage}{\r
\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{collection <- Collection$new(arv, collectionUUID)\r
+\preformatted{\dontrun{\r
+collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
myFile$write("This is new file content")\r
arvadosFile$flush()\r
}\r
+}\r
\if{html}{\out{</div>}}\r
\r
}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-write"></a>}}\r
-\if{latex}{\out{\hypertarget{method-write}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-write"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-write}{}}}\r
\subsection{Method \code{write()}}{\r
Write to file or override current content of the file.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{collection <- Collection$new(arv, collectionUUID)\r
+\preformatted{\dontrun{\r
+collection <- Collection$new(arv, collectionUUID)\r
arvadosFile <- collection$get(fileName)\r
myFile$write("This is new file content")\r
}\r
+}\r
\if{html}{\out{</div>}}\r
\r
}\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-move"></a>}}\r
-\if{latex}{\out{\hypertarget{method-move}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-move"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-move}{}}}\r
\subsection{Method \code{move()}}{\r
Moves file to a new location inside collection.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{arvadosFile$move(newPath)\r
+\preformatted{\dontrun{\r
+arvadosFile$move(newPath)\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-copy"></a>}}\r
-\if{latex}{\out{\hypertarget{method-copy}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-copy"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-copy}{}}}\r
\subsection{Method \code{copy()}}{\r
Copies file to a new location inside collection.\r
\subsection{Usage}{\r
}\r
\subsection{Examples}{\r
\if{html}{\out{<div class="r example copy">}}\r
-\preformatted{arvadosFile$copy("NewName.format")\r
+\preformatted{\dontrun{\r
+arvadosFile$copy("NewName.format")\r
+}\r
}\r
\if{html}{\out{</div>}}\r
\r
\r
}\r
\if{html}{\out{<hr>}}\r
-\if{html}{\out{<a id="method-duplicate"></a>}}\r
-\if{latex}{\out{\hypertarget{method-duplicate}{}}}\r
+\if{html}{\out{<a id="method-ArvadosFile-duplicate"></a>}}\r
+\if{latex}{\out{\hypertarget{method-ArvadosFile-duplicate}{}}}\r
\subsection{Method \code{duplicate()}}{\r
Duplicate file and gives it a new name.\r
\subsection{Usage}{\r