OpenCores
URL https://opencores.org/ocsvn/usb_fpga_1_15/usb_fpga_1_15/trunk

Subversion Repositories usb_fpga_1_15

[/] [usb_fpga_1_15/] [trunk/] [docs/] [java/] [ch/] [ntb/] [usb/] [LibLoader.html] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
6
<TITLE>
7
LibLoader
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2012-04-12">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="LibLoader";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47
  </TR>
48
</TABLE>
49
</TD>
50
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51
</EM>
52
</TD>
53
</TR>
54
 
55
<TR>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
&nbsp;<A HREF="../../../ch/ntb/usb/Device.html" title="class in ch.ntb.usb"><B>PREV CLASS</B></A>&nbsp;
58
&nbsp;<A HREF="../../../ch/ntb/usb/LibusbJava.html" title="class in ch.ntb.usb"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
  <A HREF="../../../index.html?ch/ntb/usb/LibLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61
&nbsp;<A HREF="LibLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62
&nbsp;<SCRIPT type="text/javascript">
63
  <!--
64
  if(window==top) {
65
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
66
  }
67
  //-->
68
</SCRIPT>
69
<NOSCRIPT>
70
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
71
</NOSCRIPT>
72
 
73
 
74
</FONT></TD>
75
</TR>
76
<TR>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81
</TR>
82
</TABLE>
83
<A NAME="skip-navbar_top"></A>
84
<!-- ========= END OF TOP NAVBAR ========= -->
85
 
86
<HR>
87
<!-- ======== START OF CLASS DATA ======== -->
88
<H2>
89
<FONT SIZE="-1">
90
ch.ntb.usb</FONT>
91
<BR>
92
Class LibLoader</H2>
93
<PRE>
94
java.lang.Object
95
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>ch.ntb.usb.LibLoader</B>
96
</PRE>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>LibLoader</B><DT>extends java.lang.Object</DL>
100
</PRE>
101
 
102
<P>
103
This class allows to load libraries in the normal way or as a system resource (e.g. form the current .jar file).
104
 See below for a further description. <br>
105
<P>
106
 
107
<P>
108
<HR>
109
 
110
<P>
111
 
112
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
113
 
114
<A NAME="constructor_summary"><!-- --></A>
115
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118
<B>Constructor Summary</B></FONT></TH>
119
</TR>
120
<TR BGCOLOR="white" CLASS="TableRowColor">
121
<TD><CODE><B><A HREF="../../../ch/ntb/usb/LibLoader.html#LibLoader()">LibLoader</A></B>()</CODE>
122
 
123
<BR>
124
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
</TR>
126
</TABLE>
127
&nbsp;
128
<!-- ========== METHOD SUMMARY =========== -->
129
 
130
<A NAME="method_summary"><!-- --></A>
131
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134
<B>Method Summary</B></FONT></TH>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE>static&nbsp;void</CODE></FONT></TD>
139
<TD><CODE><B><A HREF="../../../ch/ntb/usb/LibLoader.html#load(java.lang.String)">load</A></B>(java.lang.String&nbsp;libName)</CODE>
140
 
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a library.</TD>
143
</TR>
144
</TABLE>
145
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
146
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
148
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
152
</TR>
153
</TABLE>
154
&nbsp;
155
<P>
156
 
157
<!-- ========= CONSTRUCTOR DETAIL ======== -->
158
 
159
<A NAME="constructor_detail"><!-- --></A>
160
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
163
<B>Constructor Detail</B></FONT></TH>
164
</TR>
165
</TABLE>
166
 
167
<A NAME="LibLoader()"><!-- --></A><H3>
168
LibLoader</H3>
169
<PRE>
170
public <B>LibLoader</B>()</PRE>
171
<DL>
172
</DL>
173
 
174
<!-- ============ METHOD DETAIL ========== -->
175
 
176
<A NAME="method_detail"><!-- --></A>
177
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
178
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
179
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
180
<B>Method Detail</B></FONT></TH>
181
</TR>
182
</TABLE>
183
 
184
<A NAME="load(java.lang.String)"><!-- --></A><H3>
185
load</H3>
186
<PRE>
187
public static void <B>load</B>(java.lang.String&nbsp;libName)</PRE>
188
<DL>
189
<DD>Loads a library. This is done in three steps.<br>
190
 1. The library is tried to be load from the path list specified by the java.library.path property. <br>
191
 2. The library is tried to be load from the current directory. <br>
192
 3. The library is searched as a system resource (e.g. in the current .jar file),
193
 copied to to temporary directory and loaded from there. Afterwards the temporary library is deleted.
194
 The copying is necessary because libraries can't be loaded directly from .jar files.<br>
195
<P>
196
<DD><DL>
197
<DT><B>Parameters:</B><DD><CODE>libName</CODE> - Library name (e.g. usbJava)
198
<DT><B>Throws:</B>
199
<DD><CODE>java.lang.UnsatisfiedLinkError</CODE></DL>
200
</DD>
201
</DL>
202
<!-- ========= END OF CLASS DATA ========= -->
203
<HR>
204
 
205
 
206
<!-- ======= START OF BOTTOM NAVBAR ====== -->
207
<A NAME="navbar_bottom"><!-- --></A>
208
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
209
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
210
<TR>
211
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
212
<A NAME="navbar_bottom_firstrow"><!-- --></A>
213
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
214
  <TR ALIGN="center" VALIGN="top">
215
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
216
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
217
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
218
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
219
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
220
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
221
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
222
  </TR>
223
</TABLE>
224
</TD>
225
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
226
</EM>
227
</TD>
228
</TR>
229
 
230
<TR>
231
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
232
&nbsp;<A HREF="../../../ch/ntb/usb/Device.html" title="class in ch.ntb.usb"><B>PREV CLASS</B></A>&nbsp;
233
&nbsp;<A HREF="../../../ch/ntb/usb/LibusbJava.html" title="class in ch.ntb.usb"><B>NEXT CLASS</B></A></FONT></TD>
234
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
235
  <A HREF="../../../index.html?ch/ntb/usb/LibLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
236
&nbsp;<A HREF="LibLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
237
&nbsp;<SCRIPT type="text/javascript">
238
  <!--
239
  if(window==top) {
240
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
241
  }
242
  //-->
243
</SCRIPT>
244
<NOSCRIPT>
245
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
246
</NOSCRIPT>
247
 
248
 
249
</FONT></TD>
250
</TR>
251
<TR>
252
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
253
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
254
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
255
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
256
</TR>
257
</TABLE>
258
<A NAME="skip-navbar_bottom"></A>
259
<!-- ======== END OF BOTTOM NAVBAR ======= -->
260
 
261
<HR>
262
 
263
</BODY>
264
</HTML>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.