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

📄 dir2db.html

📁 Medi 这是一个基于Java的媒体文件归档器工具
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>public <B>Dir2Db</B>()</PRE><DL><DD>Creates new Dir2Db<P></DL><HR><A NAME="Dir2Db(medi.db.Provider, int, java.io.File, java.lang.Integer, java.lang.Integer)"><!-- --></A><H3>Dir2Db</H3><PRE>public <B>Dir2Db</B>(<A HREF="../../../medi/db/Provider.html">Provider</A>&nbsp;pPrv,              int&nbsp;pMountPointLength,              java.io.File&nbsp;inDir,              java.lang.Integer&nbsp;pVolumeID,              java.lang.Integer&nbsp;pSuperSessionID)</PRE><DL><DD>Creates a new Dir2Db.<P><DT><B>Parameters:</B><DD><CODE>pPrv</CODE> - The provider to use.<DD><CODE>pMountPointLength</CODE> - The length of the prefix of starting mount point.<DD><CODE>inDir</CODE> - The starting directory.<DD><CODE>pVolumeID</CODE> - The starting volume ID.<DD><CODE>pSuperSessionID</CODE> - The starting session ID.</DL><HR><A NAME="Dir2Db(medi.db.Provider, int, javatools.io.DirectoryGetter, java.lang.Integer, java.lang.Integer)"><!-- --></A><H3>Dir2Db</H3><PRE>public <B>Dir2Db</B>(<A HREF="../../../medi/db/Provider.html">Provider</A>&nbsp;pPrv,              int&nbsp;pMountPointLength,              <A HREF="../../../javatools/io/DirectoryGetter.html">DirectoryGetter</A>&nbsp;inDirget,              java.lang.Integer&nbsp;pVolumeID,              java.lang.Integer&nbsp;pSuperSessionID)</PRE><DL><DD>Creates new Dir2Db.<P><DT><B>Parameters:</B><DD><CODE>pPrv</CODE> - The provider to use.<DD><CODE>pMountPointLength</CODE> - The length of the prefix of starting mount point.<DD><CODE>inDirget</CODE> - The starting DirectoryGetter to start from.<DD><CODE>pVolumeID</CODE> - The volume ID to start from.<DD><CODE>pSuperSessionID</CODE> - The session ID to start from.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="file2Db(medi.db.Provider, java.lang.Long, java.io.File)"><!-- --></A><H3>file2Db</H3><PRE>public static void <B>file2Db</B>(<A HREF="../../../medi/db/Provider.html">Provider</A>&nbsp;pPrv,                           java.lang.Long&nbsp;dataID,                           java.io.File&nbsp;tempFile)                    throws <A HREF="../../../javatools/db/DbException.html">DbException</A></PRE><DL><DD>Gets information from a file and stores it in the database.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pPrv</CODE> - The provider to use.<DD><CODE>dataID</CODE> - The data ID to use.<DD><CODE>tempFile</CODE> - The file to get information from.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javatools/db/DbException.html">DbException</A></CODE> - If something goes wrong.</DL></DD></DL><HR><A NAME="setProvider(medi.db.Provider)"><!-- --></A><H3>setProvider</H3><PRE>public void <B>setProvider</B>(<A HREF="../../../medi/db/Provider.html">Provider</A>&nbsp;pPrv)</PRE><DL><DD>Sets the provider to use.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pPrv</CODE> - The provider.</DL></DD></DL><HR><A NAME="setStatusFrame(medi.swing.frame.Volume2DbStatus)"><!-- --></A><H3>setStatusFrame</H3><PRE>public void <B>setStatusFrame</B>(<A HREF="../../../medi/swing/frame/Volume2DbStatus.html">Volume2DbStatus</A>&nbsp;pStatus)</PRE><DL><DD>Sets the status frame to display information into.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pStatus</CODE> - The status frame to use.</DL></DD></DL><HR><A NAME="setDispatcher(medi.util.File2DbDispatcher)"><!-- --></A><H3>setDispatcher</H3><PRE>public void <B>setDispatcher</B>(<A HREF="../../../medi/util/File2DbDispatcher.html">File2DbDispatcher</A>&nbsp;pDispatcher)</PRE><DL><DD>Sets the dispatcher to be used when analyzing different file types.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pDispatcher</CODE> - The dispatcher to use.</DL></DD></DL><HR><A NAME="setMountPointLength(int)"><!-- --></A><H3>setMountPointLength</H3><PRE>public void <B>setMountPointLength</B>(int&nbsp;pMountPointLength)</PRE><DL><DD>Sets the length of the prefix of starting mount point.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pMountPointLength</CODE> - The length of the prefix of starting mount point.</DL></DD></DL><HR><A NAME="setDirectory(java.io.File)"><!-- --></A><H3>setDirectory</H3><PRE>public void <B>setDirectory</B>(java.io.File&nbsp;inDir)</PRE><DL><DD>Sets the starting directory.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inDir</CODE> - The starting directory.</DL></DD></DL><HR><A NAME="setDirectoryGetter(javatools.io.DirectoryGetter)"><!-- --></A><H3>setDirectoryGetter</H3><PRE>public void <B>setDirectoryGetter</B>(<A HREF="../../../javatools/io/DirectoryGetter.html">DirectoryGetter</A>&nbsp;inDirget)</PRE><DL><DD>Sets the starting DirectoryGetter.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inDirget</CODE> - The starting DirectoryGetter.</DL></DD></DL><HR><A NAME="setVolumeID(java.lang.Integer)"><!-- --></A><H3>setVolumeID</H3><PRE>public void <B>setVolumeID</B>(java.lang.Integer&nbsp;pVolumeID)</PRE><DL><DD>Sets the starting volume ID.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pVolumeID</CODE> - The starting volume ID.</DL></DD></DL><HR><A NAME="setSuperSessionID(java.lang.Integer)"><!-- --></A><H3>setSuperSessionID</H3><PRE>public void <B>setSuperSessionID</B>(java.lang.Integer&nbsp;pSuperSessionID)</PRE><DL><DD>Sets the starting session ID.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pSuperSessionID</CODE> - The starting session ID.</DL></DD></DL><HR><A NAME="scan(boolean)"><!-- --></A><H3>scan</H3><PRE>public void <B>scan</B>(boolean&nbsp;onlyDir)          throws java.io.IOException,                 <A HREF="../../../javatools/db/DbException.html">DbException</A></PRE><DL><DD>Scans directory and puts information in the database.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>onlyDir</CODE> - <CODE>true</CODE>: only directories are going to be scanned; <CODE>false</CODE>: also files are going to be scanned.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If some I/O error occurred.<DD><CODE><A HREF="../../../javatools/db/DbException.html">DbException</A></CODE> - If some database error occurred.</DL></DD></DL><HR><A NAME="scan()"><!-- --></A><H3>scan</H3><PRE>public void <B>scan</B>()          throws java.io.IOException,                 <A HREF="../../../javatools/db/DbException.html">DbException</A></PRE><DL><DD>Scans directory and puts information in the database.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If some I/O error occurred.<DD><CODE><A HREF="../../../javatools/db/DbException.html">DbException</A></CODE> - If some database error occurred.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../medi/db/util/FileManager.html"><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>  &nbsp;&nbsp;<A HREF="Dir2Db.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -