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

📄 generictools.html

📁 GNetWatch is a free open source Java POJO application that enables real-time graphical monitoring an
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
private static Log <B>log</B></PRE>
<DL>
<DL>
</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="GenericTools()"><!-- --></A><H3>
GenericTools</H3>
<PRE>
public <B>GenericTools</B>()</PRE>
<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="initLogEngine(net.fenyo.gnetwatch.Config)"><!-- --></A><H3>
initLogEngine</H3>
<PRE>
public static void <B>initLogEngine</B>(<A HREF="../../../net/fenyo/gnetwatch/Config.html" title="class in net.fenyo.gnetwatch">Config</A>&nbsp;config)</PRE>
<DL>
<DD>Configure the global logging rules.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - Reference to the general configuration instance.</DL>
</DD>
</DL>
<HR>

<A NAME="stringToInet4Address(java.lang.String)"><!-- --></A><H3>
stringToInet4Address</H3>
<PRE>
public static java.net.Inet4Address <B>stringToInet4Address</B>(java.lang.String&nbsp;str)
                                                  throws java.net.UnknownHostException</PRE>
<DL>
<DD>Converts a string to an Inet4Address.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - source string.
<DT><B>Returns:</B><DD>Inet4Address address representing this string.
<DT><B>Throws:</B>
<DD><CODE>java.net.UnknownHostException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="stringToInet6Address(java.lang.String)"><!-- --></A><H3>
stringToInet6Address</H3>
<PRE>
public static java.net.Inet6Address <B>stringToInet6Address</B>(java.lang.String&nbsp;str)
                                                  throws java.net.UnknownHostException</PRE>
<DL>
<DD>Converts a string to an Inet6Address.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - source string.
<DT><B>Returns:</B><DD>Inet6Address address representing this string.
<DT><B>Throws:</B>
<DD><CODE>java.net.UnknownHostException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="unsignedByteToShort(byte)"><!-- --></A><H3>
unsignedByteToShort</H3>
<PRE>
private static short <B>unsignedByteToShort</B>(byte&nbsp;ub)</PRE>
<DL>
<DD>Converts a unsigned byte (encoded into a java signed byte) to a positive signed short.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ub</CODE> - unsigned byte encoded into a java signed byte.
<DT><B>Returns:</B><DD>short positive signed short.</DL>
</DD>
</DL>
<HR>

<A NAME="inet4AddressToString(java.net.Inet4Address)"><!-- --></A><H3>
inet4AddressToString</H3>
<PRE>
public static java.lang.String <B>inet4AddressToString</B>(java.net.Inet4Address&nbsp;addr)</PRE>
<DL>
<DD>Converts an IP address to its string representation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - ipv4 address.
<DT><B>Returns:</B><DD>String ascii representation.</DL>
</DD>
</DL>
<HR>

<A NAME="inet6AddressToString(java.net.Inet6Address)"><!-- --></A><H3>
inet6AddressToString</H3>
<PRE>
public static java.lang.String <B>inet6AddressToString</B>(java.net.Inet6Address&nbsp;addr)</PRE>
<DL>
<DD>Converts an IP address to its string representation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - ipv6 address.
<DT><B>Returns:</B><DD>String ascii representation.</DL>
</DD>
</DL>
<HR>

<A NAME="getNetFromAddress(java.lang.String)"><!-- --></A><H3>
getNetFromAddress</H3>
<PRE>
public static java.lang.String <B>getNetFromAddress</B>(java.lang.String&nbsp;addr_str)</PRE>
<DL>
<DD>Returns the class A/B/C network address containing an IP address.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>addr_str</CODE> - IPv4 address.
<DT><B>Returns:</B><DD>String network address.</DL>
</DD>
</DL>
<HR>

<A NAME="substractGraph(java.util.List, java.util.List)"><!-- --></A><H3>
substractGraph</H3>
<PRE>
public static void <B>substractGraph</B>(java.util.List&lt;<A HREF="../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A>&lt;<A HREF="../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>&gt;&gt;&nbsp;g1,
                                  java.util.List&lt;<A HREF="../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A>&lt;<A HREF="../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>&gt;&gt;&nbsp;g2)</PRE>
<DL>
<DD>Removes the part of a graph that is covered by another graph. Note that the second graph need not to be a subgraph of the first one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - g1 initial graph.<DD><CODE>addr</CODE> - g2 graph defining links to remove to the initial graph.</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>
  </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="../../../net/fenyo/gnetwatch/GeneralException.html" title="class in net.fenyo.gnetwatch"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../net/fenyo/gnetwatch/IPQuerier.html" title="class in net.fenyo.gnetwatch"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?net/fenyo/gnetwatch/GenericTools.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="GenericTools.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 + -