\hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object}{}\section{plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object Class Reference}
\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object}\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}


Inheritance diagram for plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object\+:
% FIG 0


Collaboration diagram for plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a4c36646572e8a63107ee924f4c2c82bf}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0775ec0173f6c5801e337cb30cb226bb}{open}} (self, path\+\_\+spec=None, mode=\textquotesingle{}rb\textquotesingle{})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0b3ed1b9796a1efd41b499196903f27c}{close}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a5e0e7188f58f0dc2e54847c66dd457cd}{read}} (self, size=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ad2a0ad1ac694132c5cd3a37aacd6e4ac}{seek}} (self, offset, whence=os.\+S\+E\+E\+K\+\_\+\+S\+ET)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a7bcdd3ac17a2adad9a091902f7562904}{tell}} (self)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ac79a78c6bf5e169f98202e8f31119e46}{path}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a492697f843a3ced830278bca1842c5cc}{file\+\_\+object}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Local file access.\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a4c36646572e8a63107ee924f4c2c82bf}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a4c36646572e8a63107ee924f4c2c82bf}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Initializes a local file object.
\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0b3ed1b9796a1efd41b499196903f27c}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0b3ed1b9796a1efd41b499196903f27c}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!close@{close}}
\index{close@{close}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{close()}{close()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+close (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Close the file.
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_afdab7a99d9947c17ad1c87ba4a9abefb}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0775ec0173f6c5801e337cb30cb226bb}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a0775ec0173f6c5801e337cb30cb226bb}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!open@{open}}
\index{open@{open}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{open()}{open()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+open (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{path\+\_\+spec = {\ttfamily None},  }\item[{}]{mode = {\ttfamily \textquotesingle{}rb\textquotesingle{}} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Open a local file identified by its path and in a particular mode.
:param path_spec: the path of the file to open
:param mode: the mode of the file opening (and its future usage, i.e., reading, writing, etc.)
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a5e0e7188f58f0dc2e54847c66dd457cd}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a5e0e7188f58f0dc2e54847c66dd457cd}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!read@{read}}
\index{read@{read}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{read()}{read()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+read (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{size = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Reads a byte string from the file-like object at the current offset.
The function will read a byte string of the specified size or all of the remaining data
if no size was specified.
:param size: number of bytes to read, where None is all remaining data
:return: data read
:raises IOError: if the read failed
:raises OSError: if the read failed
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_aa523bbe2f09dd25e4a0676a49138b341}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ad2a0ad1ac694132c5cd3a37aacd6e4ac}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ad2a0ad1ac694132c5cd3a37aacd6e4ac}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!seek@{seek}}
\index{seek@{seek}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{seek()}{seek()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+seek (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{offset,  }\item[{}]{whence = {\ttfamily os.SEEK\+\_\+SET} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Set a position in the file for future reading or writing.
:param offset: the position as an offset
:param whence: from where the position should be reached (the beginning, the end, etc.)
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1file_1_1generic__file_1_1_file_object_af5ebc3ca60feb76b8d9984758a39395c}{plaso.\+tarzan.\+file.\+generic\+\_\+file.\+File\+Object}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a7bcdd3ac17a2adad9a091902f7562904}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a7bcdd3ac17a2adad9a091902f7562904}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!tell@{tell}}
\index{tell@{tell}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{tell()}{tell()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+tell (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get a current position in the file.
:return: the current position (an offset)
\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a492697f843a3ced830278bca1842c5cc}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_a492697f843a3ced830278bca1842c5cc}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!file\_object@{file\_object}}
\index{file\_object@{file\_object}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{file\_object}{file\_object}}
{\footnotesize\ttfamily plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+file\+\_\+object}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ac79a78c6bf5e169f98202e8f31119e46}\label{classplaso_1_1tarzan_1_1file_1_1file_1_1_local_file_object_ac79a78c6bf5e169f98202e8f31119e46}} 
\index{plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}!path@{path}}
\index{path@{path}!plaso.tarzan.file.file.LocalFileObject@{plaso.tarzan.file.file.LocalFileObject}}
\subsubsection{\texorpdfstring{path}{path}}
{\footnotesize\ttfamily plaso.\+tarzan.\+file.\+file.\+Local\+File\+Object.\+path}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/rychly/repos/pyspark-\/plaso/src/plaso/tarzan/file/\mbox{\hyperlink{file_8py}{file.\+py}}\end{DoxyCompactItemize}
