1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
5 <!-- Generated by javadoc on Tue Nov 11 14:14:27 PST 2003 -->
7 VersionInfo (Java AFS API)
9 <META NAME="keywords" CONTENT="org.openafs.jafs.VersionInfo,VersionInfo class">
10 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
15 parent.document.title="VersionInfo (Java AFS API)";
18 <BODY BGCOLOR="white" onload="asd();">
20 <!-- ========== START OF NAVBAR ========== -->
21 <A NAME="navbar_top"><!-- --></A>
22 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
24 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25 <A NAME="navbar_top_firstrow"><!-- --></A>
26 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27 <TR ALIGN="center" VALIGN="top">
28 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
29 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
30 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VersionInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
31 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
34 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
38 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39 <B>JAFS API v2.2</B></EM>
44 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45 <A HREF="../../../org/openafs/jafs/User.html"><B>PREV CLASS</B></A>
46 <A HREF="../../../org/openafs/jafs/Volume.html"><B>NEXT CLASS</B></A></FONT></TD>
47 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
49 <A HREF="VersionInfo.html" TARGET="_top"><B>NO FRAMES</B></A>
54 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
59 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
64 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
66 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
70 <!-- =========== END OF NAVBAR =========== -->
73 <!-- ======== START OF CLASS DATA ======== -->
76 org.openafs.jafs</FONT>
78 Class VersionInfo</H2>
80 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">java.lang.Object</A>
82 +--<B>org.openafs.jafs.VersionInfo</B>
86 <DT>public final class <B>VersionInfo</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></DL>
89 Class providing static methods for retrieving version information specific to
93 <!--Example of how to use class-->
94 The following is a simple example of how to use the
95 <code>VersionInfo</code> class.
97 import org.openafs.jafs.VersionInfo;
102 public static void main(String[] args) throws Exception
104 System.out.println("Attributes of the jafs native library:");
105 System.out.println("\tDescription:\t" + VersionInfo.getDescription());
106 System.out.println("\tCompile Date:\t" + VersionInfo.getCompileDate());
107 System.out.println("\tVersion:\t" + VersionInfo.getFullVersion());
118 <!-- ======== NESTED CLASS SUMMARY ======== -->
121 <!-- =========== FIELD SUMMARY =========== -->
124 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
126 <A NAME="constructor_summary"><!-- --></A>
127 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
128 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129 <TD COLSPAN=2><FONT SIZE="+2">
130 <B>Constructor Summary</B></FONT></TD>
132 <TR BGCOLOR="white" CLASS="TableRowColor">
133 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#VersionInfo()">VersionInfo</A></B>()</CODE>
136 </TD>
140 <!-- ========== METHOD SUMMARY =========== -->
142 <A NAME="method_summary"><!-- --></A>
143 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
144 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145 <TD COLSPAN=2><FONT SIZE="+2">
146 <B>Method Summary</B></FONT></TD>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150 <CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html">Date</A></CODE></FONT></TD>
151 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildDate()">getBuildDate</A></B>()</CODE>
154 Returns the date, in the form of a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html"><CODE>Date</CODE></A> object,
155 representing the compile-time of the native library.</TD>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>static int</CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildNumber()">getBuildNumber</A></B>()</CODE>
163 Returns the build number of the native library.</TD>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167 <CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
168 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildPlatform()">getBuildPlatform</A></B>()</CODE>
171 Returns the description of the platform that built the native library.</TD>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>protected static long</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildTime()">getBuildTime</A></B>()</CODE>
179 Returns the date, in the form of a long value of milliseconds since
180 "epoch", representing the compile-time of the native library.</TD>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184 <CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
185 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getDescription()">getDescription</A></B>()</CODE>
188 Returns the compile-time description of the native library.</TD>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192 <CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
193 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getFullVersion()">getFullVersion</A></B>()</CODE>
196 Returns the version, in the form of "<version number>.</TD>
198 <TR BGCOLOR="white" CLASS="TableRowColor">
199 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200 <CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
201 <TD><CODE><B><A HREF="../../../org/openafs/jafs/VersionInfo.html#getVersion()">getVersion</A></B>()</CODE>
204 Returns the version number of the native library.</TD>
207 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
208 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
209 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></B></TD>
212 <TR BGCOLOR="white" CLASS="TableRowColor">
213 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
219 <!-- ============ FIELD DETAIL =========== -->
222 <!-- ========= CONSTRUCTOR DETAIL ======== -->
224 <A NAME="constructor_detail"><!-- --></A>
225 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
226 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
227 <TD COLSPAN=1><FONT SIZE="+2">
228 <B>Constructor Detail</B></FONT></TD>
232 <A NAME="VersionInfo()"><!-- --></A><H3>
235 public <B>VersionInfo</B>()</PRE>
239 <!-- ============ METHOD DETAIL ========== -->
241 <A NAME="method_detail"><!-- --></A>
242 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
243 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
244 <TD COLSPAN=1><FONT SIZE="+2">
245 <B>Method Detail</B></FONT></TD>
249 <A NAME="getBuildDate()"><!-- --></A><H3>
252 public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html">Date</A> <B>getBuildDate</B>()
253 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
255 <DD>Returns the date, in the form of a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html"><CODE>Date</CODE></A> object,
256 representing the compile-time of the native library.
261 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html"><CODE>Date</CODE></A></DL>
266 <A NAME="getFullVersion()"><!-- --></A><H3>
269 public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getFullVersion</B>()
270 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
272 <DD>Returns the version, in the form of "<version number>.<build number>",
273 representing the full version and build revision of the native library.
278 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/VersionInfo.html#getVersion()"><CODE>getVersion()</CODE></A>,
279 <A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildNumber()"><CODE>getBuildNumber()</CODE></A></DL>
284 <A NAME="getBuildTime()"><!-- --></A><H3>
287 protected static final long <B>getBuildTime</B>()
288 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
290 <DD>Returns the date, in the form of a long value of milliseconds since
291 "epoch", representing the compile-time of the native library.
296 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/VersionInfo.html#getBuildTime()"><CODE>getBuildTime()</CODE></A></DL>
301 <A NAME="getDescription()"><!-- --></A><H3>
304 public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getDescription</B>()
305 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
307 <DD>Returns the compile-time description of the native library.
312 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code</DL>
317 <A NAME="getBuildNumber()"><!-- --></A><H3>
320 public static final int <B>getBuildNumber</B>()
321 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
323 <DD>Returns the build number of the native library.
328 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code</DL>
333 <A NAME="getVersion()"><!-- --></A><H3>
336 public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getVersion</B>()
337 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
339 <DD>Returns the version number of the native library.
344 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code</DL>
349 <A NAME="getBuildPlatform()"><!-- --></A><H3>
350 getBuildPlatform</H3>
352 public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getBuildPlatform</B>()
353 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></PRE>
355 <DD>Returns the description of the platform that built the native library.
360 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html">Exception</A></CODE> - If an error occurs in the native code</DL>
363 <!-- ========= END OF CLASS DATA ========= -->
366 <!-- ========== START OF NAVBAR ========== -->
367 <A NAME="navbar_bottom"><!-- --></A>
368 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
370 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
371 <A NAME="navbar_bottom_firstrow"><!-- --></A>
372 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
373 <TR ALIGN="center" VALIGN="top">
374 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
375 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
376 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VersionInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
377 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
378 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
379 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
380 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
384 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
385 <B>JAFS API v2.2</B></EM>
390 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
391 <A HREF="../../../org/openafs/jafs/User.html"><B>PREV CLASS</B></A>
392 <A HREF="../../../org/openafs/jafs/Volume.html"><B>NEXT CLASS</B></A></FONT></TD>
393 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
394 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
395 <A HREF="VersionInfo.html" TARGET="_top"><B>NO FRAMES</B></A>
400 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
405 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
410 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
411 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
412 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
413 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
416 <!-- =========== END OF NAVBAR =========== -->