⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 genericpropertiescreator.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="GenericPropertiesCreator()"><!-- --></A><H3>GenericPropertiesCreator</H3><PRE>public <B>GenericPropertiesCreator</B>()                         throws java.lang.Exception</PRE><DL><DD>initializes the creator, locates the props file with the Utils class.<P><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if loading of CREATOR_FILE fails<DT><B>See Also:</B><DD><A HREF="../../weka/gui/GenericPropertiesCreator.html#CREATOR_FILE"><CODE>CREATOR_FILE</CODE></A>, <A HREF="../../weka/core/Utils.html#readProperties(java.lang.String)"><CODE>Utils.readProperties(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#loadInputProperties()"><CODE>loadInputProperties()</CODE></A></DL></DL><HR><A NAME="GenericPropertiesCreator(java.lang.String)"><!-- --></A><H3>GenericPropertiesCreator</H3><PRE>public <B>GenericPropertiesCreator</B>(java.lang.String&nbsp;filename)                         throws java.lang.Exception</PRE><DL><DD>initializes the creator, the given file overrides the props-file search of the Utils class<P><DL><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><A HREF="../../weka/gui/GenericPropertiesCreator.html#CREATOR_FILE"><CODE>CREATOR_FILE</CODE></A>, <A HREF="../../weka/core/Utils.html#readProperties(java.lang.String)"><CODE>Utils.readProperties(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#loadInputProperties()"><CODE>loadInputProperties()</CODE></A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="setExplicitPropsFile(boolean)"><!-- --></A><H3>setExplicitPropsFile</H3><PRE>public void <B>setExplicitPropsFile</B>(boolean&nbsp;value)</PRE><DL><DD>if FALSE, the locating of a props-file of the Utils-class is used,  otherwise it's tried to load the specified file<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true the specified file will be loaded not via the                         Utils-class<DT><B>See Also:</B><DD><A HREF="../../weka/core/Utils.html#readProperties(java.lang.String)"><CODE>Utils.readProperties(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#loadInputProperties()"><CODE>loadInputProperties()</CODE></A></DL></DD></DL><HR><A NAME="getExplicitPropsFile()"><!-- --></A><H3>getExplicitPropsFile</H3><PRE>public boolean <B>getExplicitPropsFile</B>()</PRE><DL><DD>returns TRUE, if a file is loaded and not the Utils class used for  locating the props file.<P><DD><DL><DT><B>Returns:</B><DD>true if the specified file is used and not the one found by                the Utils class<DT><B>See Also:</B><DD><A HREF="../../weka/core/Utils.html#readProperties(java.lang.String)"><CODE>Utils.readProperties(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#loadInputProperties()"><CODE>loadInputProperties()</CODE></A></DL></DD></DL><HR><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&nbsp;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&nbsp;filename)</PRE><DL><DD>sets the file to get the information about the packages from.  automatically sets explicitPropsFile to TRUE.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - the filename for the input<DT><B>See Also:</B><DD><A HREF="../../weka/gui/GenericPropertiesCreator.html#setExplicitPropsFile(boolean)"><CODE>setExplicitPropsFile(boolean)</CODE></A></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><DT><B>Returns:</B><DD>the input properties (the template)</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><DT><B>Returns:</B><DD>the output properties (filled with classes)</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> - if something goes wrong<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&nbsp;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> - if something goes wrong<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[]&nbsp;args)                 throws java.lang.Exception</PRE><DL><DD>for generating props file: <ul>   <li>     no parameter:      see default constructor   </li>   <li>     1 parameter (i.e., filename):      see default constructor + setOutputFilename(String)   </li>   <li>     2 parameters (i.e, filenames):      see constructor with String argument + setOutputFilename(String)   </li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - the commandline arguments<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong<DT><B>See Also:</B><DD><A HREF="../../weka/gui/GenericPropertiesCreator.html#GenericPropertiesCreator()"><CODE>GenericPropertiesCreator()</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#GenericPropertiesCreator(java.lang.String)"><CODE>GenericPropertiesCreator(String)</CODE></A>, <A HREF="../../weka/gui/GenericPropertiesCreator.html#setOutputFilename(java.lang.String)"><CODE>setOutputFilename(String)</CODE></A></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=2 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../weka/gui/GenericObjectEditor.JTreePopupMenu.html" title="class in weka.gui"><B>PREV CLASS</B></A>&nbsp;&nbsp;<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?weka/gui/GenericPropertiesCreator.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="GenericPropertiesCreator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -