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

Subversion Repositories usb_fpga_1_2

[/] [usb_fpga_1_2/] [trunk/] [docs/] [java/] [ztex/] [IhxFile.html] - Blame information for rev 8

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

Line No. Rev Author Line
1 3 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 8 ZTEX
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
6 3 ZTEX
<TITLE>
7
IhxFile
8
</TITLE>
9
 
10 8 ZTEX
<META NAME="date" CONTENT="2011-07-18">
11 3 ZTEX
 
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="IhxFile";
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="../ztex/FirmwareUploadException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
58
&nbsp;<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
  <A HREF="../index.html?ztex/IhxFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61
&nbsp;<A HREF="IhxFile.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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
ztex</FONT>
91
<BR>
92
Class IhxFile</H2>
93
<PRE>
94
java.lang.Object
95
  <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.IhxFile</B>
96
</PRE>
97
<DL>
98
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A></DD>
99
</DL>
100
<HR>
101
<DL>
102
<DT><PRE>public class <B>IhxFile</B><DT>extends java.lang.Object</DL>
103
</PRE>
104
 
105
<P>
106
A class representing a firmware image loaded from an ihx (Intel Hex format) file.
107
<P>
108
 
109
<P>
110
<HR>
111
 
112
<P>
113
<!-- =========== FIELD SUMMARY =========== -->
114
 
115
<A NAME="field_summary"><!-- --></A>
116
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119
<B>Field Summary</B></FONT></TH>
120
</TR>
121
<TR BGCOLOR="white" CLASS="TableRowColor">
122
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123
<CODE>&nbsp;short[]</CODE></FONT></TD>
124
<TD><CODE><B><A HREF="../ztex/IhxFile.html#ihxData">ihxData</A></B></CODE>
125
 
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This array stores the firmware image.</TD>
128
</TR>
129
</TABLE>
130
&nbsp;
131
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
132
 
133
<A NAME="constructor_summary"><!-- --></A>
134
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137
<B>Constructor Summary</B></FONT></TH>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.lang.String)">IhxFile</A></B>(java.lang.String&nbsp;fileName)</CODE>
141
 
142
<BR>
143
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name.</TD>
144
</TR>
145
</TABLE>
146
&nbsp;
147
<!-- ========== METHOD SUMMARY =========== -->
148
 
149
<A NAME="method_summary"><!-- --></A>
150
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153
<B>Method Summary</B></FONT></TH>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>&nbsp;void</CODE></FONT></TD>
158
<TD><CODE><B><A HREF="../ztex/IhxFile.html#dataInfo(java.io.PrintStream)">dataInfo</A></B>(java.io.PrintStream&nbsp;out)</CODE>
159
 
160
<BR>
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print out some information about the memory usage.</TD>
162
</TR>
163
</TABLE>
164
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
165
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
167
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
168
</TR>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
171
</TR>
172
</TABLE>
173
&nbsp;
174
<P>
175
 
176
<!-- ============ FIELD DETAIL =========== -->
177
 
178
<A NAME="field_detail"><!-- --></A>
179
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
182
<B>Field Detail</B></FONT></TH>
183
</TR>
184
</TABLE>
185
 
186
<A NAME="ihxData"><!-- --></A><H3>
187
ihxData</H3>
188
<PRE>
189
public short[] <B>ihxData</B></PRE>
190
<DL>
191
<DD>This array stores the firmware image.
192
 Values &lt;0 and &gt;255 mean that the data is undefined.
193
<P>
194
<DL>
195
</DL>
196
</DL>
197
 
198
<!-- ========= CONSTRUCTOR DETAIL ======== -->
199
 
200
<A NAME="constructor_detail"><!-- --></A>
201
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
204
<B>Constructor Detail</B></FONT></TH>
205
</TR>
206
</TABLE>
207
 
208
<A NAME="IhxFile(java.lang.String)"><!-- --></A><H3>
209
IhxFile</H3>
210
<PRE>
211
public <B>IhxFile</B>(java.lang.String&nbsp;fileName)
212
        throws java.io.IOException,
213
               <A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></PRE>
214
<DL>
215
<DD>Constructs an instance from a given file name.
216
 This method can also read system resources, e.g. files from the current jar archive.
217
<P>
218
<DL>
219
<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The file name.
220
<DT><B>Throws:</B>
221
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
222
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.</DL>
223
</DL>
224
 
225
<!-- ============ METHOD DETAIL ========== -->
226
 
227
<A NAME="method_detail"><!-- --></A>
228
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
230
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
231
<B>Method Detail</B></FONT></TH>
232
</TR>
233
</TABLE>
234
 
235
<A NAME="dataInfo(java.io.PrintStream)"><!-- --></A><H3>
236
dataInfo</H3>
237
<PRE>
238
public void <B>dataInfo</B>(java.io.PrintStream&nbsp;out)</PRE>
239
<DL>
240
<DD>Print out some information about the memory usage.
241
<P>
242
<DD><DL>
243
<DT><B>Parameters:</B><DD><CODE>out</CODE> - Where the data is printed out.</DL>
244
</DD>
245
</DL>
246
<!-- ========= END OF CLASS DATA ========= -->
247
<HR>
248
 
249
 
250
<!-- ======= START OF BOTTOM NAVBAR ====== -->
251
<A NAME="navbar_bottom"><!-- --></A>
252
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
253
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
254
<TR>
255
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
256
<A NAME="navbar_bottom_firstrow"><!-- --></A>
257
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
258
  <TR ALIGN="center" VALIGN="top">
259
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
260
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
261
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
262
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
263
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
264
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
265
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
266
  </TR>
267
</TABLE>
268
</TD>
269
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
270
</EM>
271
</TD>
272
</TR>
273
 
274
<TR>
275
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
276
&nbsp;<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
277
&nbsp;<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
278
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
279
  <A HREF="../index.html?ztex/IhxFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
280
&nbsp;<A HREF="IhxFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
281
&nbsp;<SCRIPT type="text/javascript">
282
  <!--
283
  if(window==top) {
284
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
285
  }
286
  //-->
287
</SCRIPT>
288
<NOSCRIPT>
289
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
290
</NOSCRIPT>
291
 
292
 
293
</FONT></TD>
294
</TR>
295
<TR>
296
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
297
  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>
298
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
299
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>
300
</TR>
301
</TABLE>
302
<A NAME="skip-navbar_bottom"></A>
303
<!-- ======== END OF BOTTOM NAVBAR ======= -->
304
 
305
<HR>
306
 
307
</BODY>
308
</HTML>

powered by: WebSVN 2.1.0

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