\hypertarget{classLoadTestData}{
\subsection{LoadTestData Class Reference}
\label{classLoadTestData}\index{LoadTestData@{LoadTestData}}
}


Plugin class to load the standard test data from the JAR file.  


\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classLoadTestData_a835a731c34d790aa8292890b6483f818}{run} (String arg)
\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Plugin class to load the standard test data from the JAR file. 

Definition at line 27 of file LoadTestData.java.



\subsubsection{Member Function Documentation}
\hypertarget{classLoadTestData_a835a731c34d790aa8292890b6483f818}{
\index{LoadTestData@{LoadTestData}!run@{run}}
\index{run@{run}!LoadTestData@{LoadTestData}}
\paragraph[{run}]{\setlength{\rightskip}{0pt plus 5cm}void LoadTestData::run (
\begin{DoxyParamCaption}
\item[{String}]{arg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classLoadTestData_a835a731c34d790aa8292890b6483f818}


Definition at line 29 of file LoadTestData.java.


\begin{DoxyCode}
    {
        Opener o = new Opener();
        InputStream s = getClass().getClassLoader().getResourceAsStream("test_dat
      a.tif");
        ImagePlus im = o.openTiff(s, "test_data.tiff");


        try{
                s.close();
        }
        catch(IOException close_err){
            Toolkit.getDefaultToolkit().beep();
            ij.IJ.showStatus("Error reading image.");
            return;
        }

        im.show();
        im.updateAndDraw();


        System.out.println(getClass().getResource("").toString() + "\n");
        System.out.println(getClass().getResource("").getPath().toString() + "\n"
      );
        System.out.println(getClass().getResource("").getFile().toString() + "\n"
      );

    }
\end{DoxyCode}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
\hyperlink{LoadTestData_8java}{LoadTestData.java}\end{DoxyCompactItemize}
