📄 genericpropertiescreator.html
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="VERBOSE"><!-- --></A><H3>VERBOSE</H3><PRE>public static final boolean <B>VERBOSE</B></PRE><DL><DD>whether to output some debug information<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#weka.gui.GenericPropertiesCreator.VERBOSE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GenericPropertiesCreator()"><!-- --></A><H3>GenericPropertiesCreator</H3><PRE>public <B>GenericPropertiesCreator</B>() throws java.lang.Exception</PRE><DL><DD>initializes the creator<P><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if loading of CREATOR_FILE fails<DT><B>See Also:</B><DD><CODE>#CREATOR_FILE</CODE></DL><HR><A NAME="GenericPropertiesCreator(java.lang.String)"><!-- --></A><H3>GenericPropertiesCreator</H3><PRE>public <B>GenericPropertiesCreator</B>(java.lang.String filename) throws java.lang.Exception</PRE><DL><DD>initializes the creator<P><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the file containing the packages to create a props file from<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if loading of the file fails<DT><B>See Also:</B><DD><CODE>#CREATOR_FILE</CODE></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getOutputFilename()"><!-- --></A><H3>getOutputFilename</H3><PRE>public java.lang.String <B>getOutputFilename</B>()</PRE><DL><DD>returns the name of the output file<P><DD><DL><DT><B>Returns:</B><DD>the name of the output file</DL></DD></DL><HR><A NAME="setOutputFilename(java.lang.String)"><!-- --></A><H3>setOutputFilename</H3><PRE>public void <B>setOutputFilename</B>(java.lang.String filename)</PRE><DL><DD>sets the file to output the properties for the GEO to<P><DD><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the filename for the output</DL></DD></DL><HR><A NAME="getInputFilename()"><!-- --></A><H3>getInputFilename</H3><PRE>public java.lang.String <B>getInputFilename</B>()</PRE><DL><DD>returns the name of the input file<P><DD><DL><DT><B>Returns:</B><DD>the name of the input file</DL></DD></DL><HR><A NAME="setInputFilename(java.lang.String)"><!-- --></A><H3>setInputFilename</H3><PRE>public void <B>setInputFilename</B>(java.lang.String filename)</PRE><DL><DD>sets the file to get the information about the packages from<P><DD><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the filename for the input</DL></DD></DL><HR><A NAME="getInputProperties()"><!-- --></A><H3>getInputProperties</H3><PRE>public java.util.Properties <B>getInputProperties</B>()</PRE><DL><DD>returns the input properties object (template containing the packages)<P><DD><DL></DL></DD></DL><HR><A NAME="getOutputProperties()"><!-- --></A><H3>getOutputProperties</H3><PRE>public java.util.Properties <B>getOutputProperties</B>()</PRE><DL><DD>returns the output properties object (structure like the template, but filled with classes instead of packages)<P><DD><DL></DL></DD></DL><HR><A NAME="execute()"><!-- --></A><H3>execute</H3><PRE>public void <B>execute</B>() throws java.lang.Exception</PRE><DL><DD>generates the props-file for the GenericObjectEditor and stores it<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE><DT><B>See Also:</B><DD><A HREF="../../weka/gui/GenericPropertiesCreator.html#execute(boolean)"><CODE>execute(boolean)</CODE></A></DL></DD></DL><HR><A NAME="execute(boolean)"><!-- --></A><H3>execute</H3><PRE>public void <B>execute</B>(boolean store) throws java.lang.Exception</PRE><DL><DD>generates the props-file for the GenericObjectEditor and stores it only if the the param <code>store</code> is TRUE. If it is FALSE then the generated properties file can be retrieved via the <code>getOutputProperties</code> method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>store</CODE> - if TRUE then the properties file is stored to the stored filename<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE><DT><B>See Also:</B><DD><A HREF="../../weka/gui/GenericPropertiesCreator.html#getOutputFilename()"><CODE>getOutputFilename()</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#setOutputFilename(java.lang.String)"><CODE>setOutputFilename(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#getOutputProperties()"><CODE>getOutputProperties()</CODE></A></DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args) throws java.lang.Exception</PRE><DL><DD>for executing the<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/gui/GenericObjectEditor.JTreePopupMenu.html" title="class in weka.gui"><B>PREV CLASS</B></A> <A HREF="../../weka/gui/GUIChooser.html" title="class in weka.gui"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="GenericPropertiesCreator.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -