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

Subversion Repositories usb_fpga_1_11

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

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 8 ZTEX
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
6 2 ZTEX
<TITLE>
7
IhxFile
8
</TITLE>
9
 
10 8 ZTEX
<META NAME="date" CONTENT="2013-10-30">
11 2 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 8 ZTEX
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.io.InputStream, java.lang.String)">IhxFile</A></B>(java.io.InputStream&nbsp;in,
141
        java.lang.String&nbsp;name)</CODE>
142
 
143
<BR>
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name.</TD>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147 2 ZTEX
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.lang.String)">IhxFile</A></B>(java.lang.String&nbsp;fileName)</CODE>
148
 
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name.</TD>
151
</TR>
152
</TABLE>
153
&nbsp;
154
<!-- ========== METHOD SUMMARY =========== -->
155
 
156
<A NAME="method_summary"><!-- --></A>
157
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
159
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
160
<B>Method Summary</B></FONT></TH>
161
</TR>
162
<TR BGCOLOR="white" CLASS="TableRowColor">
163
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
<CODE>&nbsp;void</CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../ztex/IhxFile.html#dataInfo(java.io.PrintStream)">dataInfo</A></B>(java.io.PrintStream&nbsp;out)</CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print out some information about the memory usage.</TD>
169
</TR>
170
</TABLE>
171
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
172
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
174
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
175
</TR>
176
<TR BGCOLOR="white" CLASS="TableRowColor">
177
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
178
</TR>
179
</TABLE>
180
&nbsp;
181
<P>
182
 
183
<!-- ============ FIELD DETAIL =========== -->
184
 
185
<A NAME="field_detail"><!-- --></A>
186
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
189
<B>Field Detail</B></FONT></TH>
190
</TR>
191
</TABLE>
192
 
193
<A NAME="ihxData"><!-- --></A><H3>
194
ihxData</H3>
195
<PRE>
196
public short[] <B>ihxData</B></PRE>
197
<DL>
198
<DD>This array stores the firmware image.
199
 Values &lt;0 and &gt;255 mean that the data is undefined.
200
<P>
201
<DL>
202
</DL>
203
</DL>
204
 
205
<!-- ========= CONSTRUCTOR DETAIL ======== -->
206
 
207
<A NAME="constructor_detail"><!-- --></A>
208
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
210
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
211
<B>Constructor Detail</B></FONT></TH>
212
</TR>
213
</TABLE>
214
 
215 8 ZTEX
<A NAME="IhxFile(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
216
IhxFile</H3>
217
<PRE>
218
public <B>IhxFile</B>(java.io.InputStream&nbsp;in,
219
               java.lang.String&nbsp;name)
220
        throws java.io.IOException,
221
               <A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></PRE>
222
<DL>
223
<DD>Constructs an instance from a given file name.
224
 This method can also read system resources, e.g. files from the current jar archive.
225
<P>
226
<DL>
227
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.
228
<DT><B>Throws:</B>
229
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
230
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.</DL>
231
</DL>
232
<HR>
233
 
234 2 ZTEX
<A NAME="IhxFile(java.lang.String)"><!-- --></A><H3>
235
IhxFile</H3>
236
<PRE>
237
public <B>IhxFile</B>(java.lang.String&nbsp;fileName)
238
        throws java.io.IOException,
239
               <A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></PRE>
240
<DL>
241
<DD>Constructs an instance from a given file name.
242
 This method can also read system resources, e.g. files from the current jar archive.
243
<P>
244
<DL>
245
<DT><B>Parameters:</B><DD><CODE>fileName</CODE> - The file name.
246
<DT><B>Throws:</B>
247
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
248
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.</DL>
249
</DL>
250
 
251
<!-- ============ METHOD DETAIL ========== -->
252
 
253
<A NAME="method_detail"><!-- --></A>
254
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
257
<B>Method Detail</B></FONT></TH>
258
</TR>
259
</TABLE>
260
 
261
<A NAME="dataInfo(java.io.PrintStream)"><!-- --></A><H3>
262
dataInfo</H3>
263
<PRE>
264
public void <B>dataInfo</B>(java.io.PrintStream&nbsp;out)</PRE>
265
<DL>
266
<DD>Print out some information about the memory usage.
267
<P>
268
<DD><DL>
269
<DT><B>Parameters:</B><DD><CODE>out</CODE> - Where the data is printed out.</DL>
270
</DD>
271
</DL>
272
<!-- ========= END OF CLASS DATA ========= -->
273
<HR>
274
 
275
 
276
<!-- ======= START OF BOTTOM NAVBAR ====== -->
277
<A NAME="navbar_bottom"><!-- --></A>
278
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
279
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
280
<TR>
281
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
282
<A NAME="navbar_bottom_firstrow"><!-- --></A>
283
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
284
  <TR ALIGN="center" VALIGN="top">
285
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
286
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
287
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
288
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
289
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
290
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
291
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
292
  </TR>
293
</TABLE>
294
</TD>
295
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
296
</EM>
297
</TD>
298
</TR>
299
 
300
<TR>
301
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
302
&nbsp;<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
303
&nbsp;<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
304
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
305
  <A HREF="../index.html?ztex/IhxFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
306
&nbsp;<A HREF="IhxFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
307
&nbsp;<SCRIPT type="text/javascript">
308
  <!--
309
  if(window==top) {
310
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
311
  }
312
  //-->
313
</SCRIPT>
314
<NOSCRIPT>
315
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
316
</NOSCRIPT>
317
 
318
 
319
</FONT></TD>
320
</TR>
321
<TR>
322
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
323
  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>
324
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
325
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>
326
</TR>
327
</TABLE>
328
<A NAME="skip-navbar_bottom"></A>
329
<!-- ======== END OF BOTTOM NAVBAR ======= -->
330
 
331
<HR>
332
 
333
</BODY>
334
</HTML>

powered by: WebSVN 2.1.0

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