Statistics
| Revision:

svn-gvsig-desktop / tags / tmp_build / build / distribution / izpack_4.2.0 / doc / izpack / javadoc / com / izforge / izpack / io / FileSpanningOutputStream.html @ 26384

History | View | Annotate | Download (36.4 KB)

1
<!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.5.0_16) on Wed Dec 17 09:23:56 CET 2008 -->
6
<TITLE>
7
FileSpanningOutputStream
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.izforge.izpack.io.FileSpanningOutputStream class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="FileSpanningOutputStream";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22

    
23
</HEAD>
24

    
25
<BODY BGCOLOR="white" onload="windowTitle();">
26

    
27

    
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51

    
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;<A HREF="../../../../com/izforge/izpack/io/FileSpanningInputStream.html" title="class in com.izforge.izpack.io"><B>PREV CLASS</B></A>&nbsp;
55
&nbsp;<A HREF="../../../../com/izforge/izpack/io/VolumeNotFoundException.html" title="class in com.izforge.izpack.io"><B>NEXT CLASS</B></A></FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../../index.html?com/izforge/izpack/io/FileSpanningOutputStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="FileSpanningOutputStream.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69

    
70

    
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  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>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
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>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82

    
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
com.izforge.izpack.io</FONT>
88
<BR>
89
Class FileSpanningOutputStream</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.OutputStream
93
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.izforge.izpack.io.FileSpanningOutputStream</B>
94
</PRE>
95
<DL>
96
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.io.Flushable</DD>
97
</DL>
98
<HR>
99
<DL>
100
<DT><PRE>public class <B>FileSpanningOutputStream</B><DT>extends java.io.OutputStream</DL>
101
</PRE>
102

    
103
<P>
104
An outputstream which transparently spans over multiple volumes. The size of the volumes and an
105
 additonal space for the first volume can be specified.
106
<P>
107

    
108
<P>
109
<DL>
110
<DT><B>Author:</B></DT>
111
  <DD>Dennis Reil, <Dennis.Reil@reddot.de></DD>
112
</DL>
113
<HR>
114

    
115
<P>
116
<!-- =========== FIELD SUMMARY =========== -->
117

    
118
<A NAME="field_summary"><!-- --></A>
119
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
<B>Field Summary</B></FONT></TH>
123
</TR>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
<CODE>protected &nbsp;java.io.File</CODE></FONT></TD>
127
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#currentfile">currentfile</A></B></CODE>
128

    
129
<BR>
130
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131
</TR>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE>protected &nbsp;int</CODE></FONT></TD>
135
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#currentvolumeindex">currentvolumeindex</A></B></CODE>
136

    
137
<BR>
138
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139
</TR>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142
<CODE>static&nbsp;long</CODE></FONT></TD>
143
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE">DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE</A></B></CODE>
144

    
145
<BR>
146
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
<CODE>protected static&nbsp;java.lang.String</CODE></FONT></TD>
151
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#DEFAULT_VOLUME_NAME">DEFAULT_VOLUME_NAME</A></B></CODE>
152

    
153
<BR>
154
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155
</TR>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
<CODE>static&nbsp;long</CODE></FONT></TD>
159
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#DEFAULT_VOLUME_SIZE">DEFAULT_VOLUME_SIZE</A></B></CODE>
160

    
161
<BR>
162
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
<CODE>protected static&nbsp;long</CODE></FONT></TD>
167
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FILE_NOT_AVAILABLE">FILE_NOT_AVAILABLE</A></B></CODE>
168

    
169
<BR>
170
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
<CODE>private &nbsp;java.io.FileOutputStream</CODE></FONT></TD>
175
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#fileoutputstream">fileoutputstream</A></B></CODE>
176

    
177
<BR>
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>protected &nbsp;long</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#filepointer">filepointer</A></B></CODE>
184

    
185
<BR>
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>protected &nbsp;long</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#firstvolumefreespacesize">firstvolumefreespacesize</A></B></CODE>
192

    
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>static&nbsp;long</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#KB">KB</A></B></CODE>
200

    
201
<BR>
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
203
</TR>
204
<TR BGCOLOR="white" CLASS="TableRowColor">
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
<CODE>static&nbsp;int</CODE></FONT></TD>
207
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#MAGIC_NUMER_LENGTH">MAGIC_NUMER_LENGTH</A></B></CODE>
208

    
209
<BR>
210
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE>private &nbsp;byte[]</CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#magicnumber">magicnumber</A></B></CODE>
216

    
217
<BR>
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
219
</TR>
220
<TR BGCOLOR="white" CLASS="TableRowColor">
221
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222
<CODE>protected &nbsp;long</CODE></FONT></TD>
223
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#maxvolumesize">maxvolumesize</A></B></CODE>
224

    
225
<BR>
226
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
227
</TR>
228
<TR BGCOLOR="white" CLASS="TableRowColor">
229
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230
<CODE>static&nbsp;long</CODE></FONT></TD>
231
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#MB">MB</A></B></CODE>
232

    
233
<BR>
234
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
235
</TR>
236
<TR BGCOLOR="white" CLASS="TableRowColor">
237
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238
<CODE>protected &nbsp;long</CODE></FONT></TD>
239
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#totalbytesofpreviousvolumes">totalbytesofpreviousvolumes</A></B></CODE>
240

    
241
<BR>
242
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
243
</TR>
244
<TR BGCOLOR="white" CLASS="TableRowColor">
245
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
247
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#volumename">volumename</A></B></CODE>
248

    
249
<BR>
250
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
251
</TR>
252
<TR BGCOLOR="white" CLASS="TableRowColor">
253
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
255
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#VOLUMES_INFO">VOLUMES_INFO</A></B></CODE>
256

    
257
<BR>
258
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
259
</TR>
260
<TR BGCOLOR="white" CLASS="TableRowColor">
261
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262
<CODE>private &nbsp;java.util.zip.GZIPOutputStream</CODE></FONT></TD>
263
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#zippedoutputstream">zippedoutputstream</A></B></CODE>
264

    
265
<BR>
266
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
267
</TR>
268
</TABLE>
269
&nbsp;
270
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
271

    
272
<A NAME="constructor_summary"><!-- --></A>
273
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
274
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
275
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
276
<B>Constructor Summary</B></FONT></TH>
277
</TR>
278
<TR BGCOLOR="white" CLASS="TableRowColor">
279
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
<CODE>&nbsp;</CODE></FONT></TD>
281
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream()">FileSpanningOutputStream</A></B>()</CODE>
282

    
283
<BR>
284
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
285
</TR>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
<CODE>&nbsp;</CODE></FONT></TD>
289
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream(java.io.File)">FileSpanningOutputStream</A></B>(java.io.File&nbsp;volume)</CODE>
290

    
291
<BR>
292
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>&nbsp;</CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream(java.io.File, long)">FileSpanningOutputStream</A></B>(java.io.File&nbsp;volume,
298
                         long&nbsp;maxvolumesize)</CODE>
299

    
300
<BR>
301
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new spanning output stream with specified volume names and a maximum volume size</TD>
302
</TR>
303
<TR BGCOLOR="white" CLASS="TableRowColor">
304
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305
<CODE>protected </CODE></FONT></TD>
306
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream(java.io.File, long, int)">FileSpanningOutputStream</A></B>(java.io.File&nbsp;volume,
307
                         long&nbsp;maxvolumesize,
308
                         int&nbsp;currentvolume)</CODE>
309

    
310
<BR>
311
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new spanning output stream with specified volume names and a maximum volume size</TD>
312
</TR>
313
<TR BGCOLOR="white" CLASS="TableRowColor">
314
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
315
<CODE>&nbsp;</CODE></FONT></TD>
316
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream(java.lang.String)">FileSpanningOutputStream</A></B>(java.lang.String&nbsp;volumename)</CODE>
317

    
318
<BR>
319
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
320
</TR>
321
<TR BGCOLOR="white" CLASS="TableRowColor">
322
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
323
<CODE>&nbsp;</CODE></FONT></TD>
324
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#FileSpanningOutputStream(java.lang.String, long)">FileSpanningOutputStream</A></B>(java.lang.String&nbsp;volumename,
325
                         long&nbsp;maxvolumesize)</CODE>
326

    
327
<BR>
328
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new spanning output stream with specified volume names and a maximum volume size</TD>
329
</TR>
330
</TABLE>
331
&nbsp;
332
<!-- ========== METHOD SUMMARY =========== -->
333

    
334
<A NAME="method_summary"><!-- --></A>
335
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
336
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
337
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
338
<B>Method Summary</B></FONT></TH>
339
</TR>
340
<TR BGCOLOR="white" CLASS="TableRowColor">
341
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342
<CODE>&nbsp;void</CODE></FONT></TD>
343
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#close()">close</A></B>()</CODE>
344

    
345
<BR>
346
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
347
</TR>
348
<TR BGCOLOR="white" CLASS="TableRowColor">
349
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350
<CODE>protected &nbsp;void</CODE></FONT></TD>
351
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#createStreamToNextVolume()">createStreamToNextVolume</A></B>()</CODE>
352

    
353
<BR>
354
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the stream to the current volume and reopens to the next volume</TD>
355
</TR>
356
<TR BGCOLOR="white" CLASS="TableRowColor">
357
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358
<CODE>private &nbsp;void</CODE></FONT></TD>
359
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#createVolumeOutputStream(java.io.File, long, int)">createVolumeOutputStream</A></B>(java.io.File&nbsp;volume,
360
                         long&nbsp;maxvolumesize,
361
                         int&nbsp;currentvolume)</CODE>
362

    
363
<BR>
364
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actually creates the outputstream for writing a volume with index currentvolume and a maximum
365
 of maxvolumesize</TD>
366
</TR>
367
<TR BGCOLOR="white" CLASS="TableRowColor">
368
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
369
<CODE>&nbsp;void</CODE></FONT></TD>
370
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#flush()">flush</A></B>()</CODE>
371

    
372
<BR>
373
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
374
</TR>
375
<TR BGCOLOR="white" CLASS="TableRowColor">
376
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377
<CODE>private &nbsp;void</CODE></FONT></TD>
378
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#generateMagicNumber()">generateMagicNumber</A></B>()</CODE>
379

    
380
<BR>
381
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
382
</TR>
383
<TR BGCOLOR="white" CLASS="TableRowColor">
384
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
385
<CODE>&nbsp;long</CODE></FONT></TD>
386
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#getCompressedFilepointer()">getCompressedFilepointer</A></B>()</CODE>
387

    
388
<BR>
389
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current position in this file</TD>
390
</TR>
391
<TR BGCOLOR="white" CLASS="TableRowColor">
392
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
393
<CODE>protected &nbsp;long</CODE></FONT></TD>
394
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#getCurrentVolumeSize()">getCurrentVolumeSize</A></B>()</CODE>
395

    
396
<BR>
397
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the current volume</TD>
398
</TR>
399
<TR BGCOLOR="white" CLASS="TableRowColor">
400
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
401
<CODE>&nbsp;long</CODE></FONT></TD>
402
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#getFilepointer()">getFilepointer</A></B>()</CODE>
403

    
404
<BR>
405
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
406
</TR>
407
<TR BGCOLOR="white" CLASS="TableRowColor">
408
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
409
<CODE>&nbsp;long</CODE></FONT></TD>
410
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#getFirstvolumefreespacesize()">getFirstvolumefreespacesize</A></B>()</CODE>
411

    
412
<BR>
413
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
414
</TR>
415
<TR BGCOLOR="white" CLASS="TableRowColor">
416
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
417
<CODE>&nbsp;int</CODE></FONT></TD>
418
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#getVolumeCount()">getVolumeCount</A></B>()</CODE>
419

    
420
<BR>
421
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the amount of currently created volumes</TD>
422
</TR>
423
<TR BGCOLOR="white" CLASS="TableRowColor">
424
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
425
<CODE>&nbsp;void</CODE></FONT></TD>
426
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#setFirstvolumefreespacesize(long)">setFirstvolumefreespacesize</A></B>(long&nbsp;firstvolumefreespacesize)</CODE>
427

    
428
<BR>
429
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
430
</TR>
431
<TR BGCOLOR="white" CLASS="TableRowColor">
432
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
433
<CODE>&nbsp;void</CODE></FONT></TD>
434
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#write(byte[])">write</A></B>(byte[]&nbsp;b)</CODE>
435

    
436
<BR>
437
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
438
</TR>
439
<TR BGCOLOR="white" CLASS="TableRowColor">
440
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
441
<CODE>&nbsp;void</CODE></FONT></TD>
442
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#write(byte[], int, int)">write</A></B>(byte[]&nbsp;b,
443
      int&nbsp;off,
444
      int&nbsp;len)</CODE>
445

    
446
<BR>
447
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
448
</TR>
449
<TR BGCOLOR="white" CLASS="TableRowColor">
450
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
451
<CODE>&nbsp;void</CODE></FONT></TD>
452
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/io/FileSpanningOutputStream.html#write(int)">write</A></B>(int&nbsp;b)</CODE>
453

    
454
<BR>
455
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
456
</TR>
457
</TABLE>
458
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
459
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
460
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
461
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
462
</TR>
463
<TR BGCOLOR="white" CLASS="TableRowColor">
464
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
465
</TR>
466
</TABLE>
467
&nbsp;
468
<P>
469

    
470
<!-- ============ FIELD DETAIL =========== -->
471

    
472
<A NAME="field_detail"><!-- --></A>
473
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
474
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
475
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
476
<B>Field Detail</B></FONT></TH>
477
</TR>
478
</TABLE>
479

    
480
<A NAME="KB"><!-- --></A><H3>
481
KB</H3>
482
<PRE>
483
public static final long <B>KB</B></PRE>
484
<DL>
485
<DL>
486
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.KB">Constant Field Values</A></DL>
487
</DL>
488
<HR>
489

    
490
<A NAME="MB"><!-- --></A><H3>
491
MB</H3>
492
<PRE>
493
public static final long <B>MB</B></PRE>
494
<DL>
495
<DL>
496
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.MB">Constant Field Values</A></DL>
497
</DL>
498
<HR>
499

    
500
<A NAME="DEFAULT_VOLUME_SIZE"><!-- --></A><H3>
501
DEFAULT_VOLUME_SIZE</H3>
502
<PRE>
503
public static final long <B>DEFAULT_VOLUME_SIZE</B></PRE>
504
<DL>
505
<DL>
506
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.DEFAULT_VOLUME_SIZE">Constant Field Values</A></DL>
507
</DL>
508
<HR>
509

    
510
<A NAME="DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE"><!-- --></A><H3>
511
DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE</H3>
512
<PRE>
513
public static final long <B>DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE</B></PRE>
514
<DL>
515
<DL>
516
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.DEFAULT_ADDITIONAL_FIRST_VOLUME_FREE_SPACE_SIZE">Constant Field Values</A></DL>
517
</DL>
518
<HR>
519

    
520
<A NAME="DEFAULT_VOLUME_NAME"><!-- --></A><H3>
521
DEFAULT_VOLUME_NAME</H3>
522
<PRE>
523
protected static final java.lang.String <B>DEFAULT_VOLUME_NAME</B></PRE>
524
<DL>
525
<DL>
526
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.DEFAULT_VOLUME_NAME">Constant Field Values</A></DL>
527
</DL>
528
<HR>
529

    
530
<A NAME="FILE_NOT_AVAILABLE"><!-- --></A><H3>
531
FILE_NOT_AVAILABLE</H3>
532
<PRE>
533
protected static final long <B>FILE_NOT_AVAILABLE</B></PRE>
534
<DL>
535
<DL>
536
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.FILE_NOT_AVAILABLE">Constant Field Values</A></DL>
537
</DL>
538
<HR>
539

    
540
<A NAME="maxvolumesize"><!-- --></A><H3>
541
maxvolumesize</H3>
542
<PRE>
543
protected long <B>maxvolumesize</B></PRE>
544
<DL>
545
<DL>
546
</DL>
547
</DL>
548
<HR>
549

    
550
<A NAME="firstvolumefreespacesize"><!-- --></A><H3>
551
firstvolumefreespacesize</H3>
552
<PRE>
553
protected long <B>firstvolumefreespacesize</B></PRE>
554
<DL>
555
<DL>
556
</DL>
557
</DL>
558
<HR>
559

    
560
<A NAME="VOLUMES_INFO"><!-- --></A><H3>
561
VOLUMES_INFO</H3>
562
<PRE>
563
public static final java.lang.String <B>VOLUMES_INFO</B></PRE>
564
<DL>
565
<DL>
566
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.VOLUMES_INFO">Constant Field Values</A></DL>
567
</DL>
568
<HR>
569

    
570
<A NAME="MAGIC_NUMER_LENGTH"><!-- --></A><H3>
571
MAGIC_NUMER_LENGTH</H3>
572
<PRE>
573
public static final int <B>MAGIC_NUMER_LENGTH</B></PRE>
574
<DL>
575
<DL>
576
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.io.FileSpanningOutputStream.MAGIC_NUMER_LENGTH">Constant Field Values</A></DL>
577
</DL>
578
<HR>
579

    
580
<A NAME="currentfile"><!-- --></A><H3>
581
currentfile</H3>
582
<PRE>
583
protected java.io.File <B>currentfile</B></PRE>
584
<DL>
585
<DL>
586
</DL>
587
</DL>
588
<HR>
589

    
590
<A NAME="volumename"><!-- --></A><H3>
591
volumename</H3>
592
<PRE>
593
protected java.lang.String <B>volumename</B></PRE>
594
<DL>
595
<DL>
596
</DL>
597
</DL>
598
<HR>
599

    
600
<A NAME="currentvolumeindex"><!-- --></A><H3>
601
currentvolumeindex</H3>
602
<PRE>
603
protected int <B>currentvolumeindex</B></PRE>
604
<DL>
605
<DL>
606
</DL>
607
</DL>
608
<HR>
609

    
610
<A NAME="fileoutputstream"><!-- --></A><H3>
611
fileoutputstream</H3>
612
<PRE>
613
private java.io.FileOutputStream <B>fileoutputstream</B></PRE>
614
<DL>
615
<DL>
616
</DL>
617
</DL>
618
<HR>
619

    
620
<A NAME="zippedoutputstream"><!-- --></A><H3>
621
zippedoutputstream</H3>
622
<PRE>
623
private java.util.zip.GZIPOutputStream <B>zippedoutputstream</B></PRE>
624
<DL>
625
<DL>
626
</DL>
627
</DL>
628
<HR>
629

    
630
<A NAME="magicnumber"><!-- --></A><H3>
631
magicnumber</H3>
632
<PRE>
633
private byte[] <B>magicnumber</B></PRE>
634
<DL>
635
<DL>
636
</DL>
637
</DL>
638
<HR>
639

    
640
<A NAME="filepointer"><!-- --></A><H3>
641
filepointer</H3>
642
<PRE>
643
protected long <B>filepointer</B></PRE>
644
<DL>
645
<DL>
646
</DL>
647
</DL>
648
<HR>
649

    
650
<A NAME="totalbytesofpreviousvolumes"><!-- --></A><H3>
651
totalbytesofpreviousvolumes</H3>
652
<PRE>
653
protected long <B>totalbytesofpreviousvolumes</B></PRE>
654
<DL>
655
<DL>
656
</DL>
657
</DL>
658

    
659
<!-- ========= CONSTRUCTOR DETAIL ======== -->
660

    
661
<A NAME="constructor_detail"><!-- --></A>
662
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
663
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
664
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
665
<B>Constructor Detail</B></FONT></TH>
666
</TR>
667
</TABLE>
668

    
669
<A NAME="FileSpanningOutputStream(java.lang.String, long)"><!-- --></A><H3>
670
FileSpanningOutputStream</H3>
671
<PRE>
672
public <B>FileSpanningOutputStream</B>(java.lang.String&nbsp;volumename,
673
                                long&nbsp;maxvolumesize)
674
                         throws java.io.IOException</PRE>
675
<DL>
676
<DD>Creates a new spanning output stream with specified volume names and a maximum volume size
677
<P>
678
<DL>
679
<DT><B>Parameters:</B><DD><CODE>volumename</CODE> - - the name of the volumes<DD><CODE>maxvolumesize</CODE> - - the maximum volume size
680
<DT><B>Throws:</B>
681
<DD><CODE>java.io.IOException</CODE></DL>
682
</DL>
683
<HR>
684

    
685
<A NAME="FileSpanningOutputStream(java.io.File, long)"><!-- --></A><H3>
686
FileSpanningOutputStream</H3>
687
<PRE>
688
public <B>FileSpanningOutputStream</B>(java.io.File&nbsp;volume,
689
                                long&nbsp;maxvolumesize)
690
                         throws java.io.IOException</PRE>
691
<DL>
692
<DD>Creates a new spanning output stream with specified volume names and a maximum volume size
693
<P>
694
<DL>
695
<DT><B>Parameters:</B><DD><CODE>volume</CODE> - - the first volume<DD><CODE>maxvolumesize</CODE> - - the maximum volume size
696
<DT><B>Throws:</B>
697
<DD><CODE>java.io.IOException</CODE></DL>
698
</DL>
699
<HR>
700

    
701
<A NAME="FileSpanningOutputStream(java.io.File, long, int)"><!-- --></A><H3>
702
FileSpanningOutputStream</H3>
703
<PRE>
704
protected <B>FileSpanningOutputStream</B>(java.io.File&nbsp;volume,
705
                                   long&nbsp;maxvolumesize,
706
                                   int&nbsp;currentvolume)
707
                            throws java.io.IOException</PRE>
708
<DL>
709
<DD>Creates a new spanning output stream with specified volume names and a maximum volume size
710
<P>
711
<DL>
712
<DT><B>Parameters:</B><DD><CODE>volume</CODE> - - the first volume<DD><CODE>maxvolumesize</CODE> - - the maximum volume size<DD><CODE>currentvolume</CODE> - - the current volume
713
<DT><B>Throws:</B>
714
<DD><CODE>java.io.IOException</CODE></DL>
715
</DL>
716
<HR>
717

    
718
<A NAME="FileSpanningOutputStream(java.io.File)"><!-- --></A><H3>
719
FileSpanningOutputStream</H3>
720
<PRE>
721
public <B>FileSpanningOutputStream</B>(java.io.File&nbsp;volume)
722
                         throws java.io.IOException</PRE>
723
<DL>
724
<DL>
725
<DT><B>Parameters:</B><DD><CODE>volume</CODE> - 
726
<DT><B>Throws:</B>
727
<DD><CODE>java.io.IOException</CODE></DL>
728
</DL>
729
<HR>
730

    
731
<A NAME="FileSpanningOutputStream(java.lang.String)"><!-- --></A><H3>
732
FileSpanningOutputStream</H3>
733
<PRE>
734
public <B>FileSpanningOutputStream</B>(java.lang.String&nbsp;volumename)
735
                         throws java.io.IOException</PRE>
736
<DL>
737
<DL>
738
<DT><B>Parameters:</B><DD><CODE>volumename</CODE> - 
739
<DT><B>Throws:</B>
740
<DD><CODE>java.io.IOException</CODE></DL>
741
</DL>
742
<HR>
743

    
744
<A NAME="FileSpanningOutputStream()"><!-- --></A><H3>
745
FileSpanningOutputStream</H3>
746
<PRE>
747
public <B>FileSpanningOutputStream</B>()
748
                         throws java.io.IOException</PRE>
749
<DL>
750
<DL>
751

    
752
<DT><B>Throws:</B>
753
<DD><CODE>java.io.IOException</CODE></DL>
754
</DL>
755

    
756
<!-- ============ METHOD DETAIL ========== -->
757

    
758
<A NAME="method_detail"><!-- --></A>
759
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
760
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
761
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
762
<B>Method Detail</B></FONT></TH>
763
</TR>
764
</TABLE>
765

    
766
<A NAME="generateMagicNumber()"><!-- --></A><H3>
767
generateMagicNumber</H3>
768
<PRE>
769
private void <B>generateMagicNumber</B>()</PRE>
770
<DL>
771
<DD><DL>
772
</DL>
773
</DD>
774
</DL>
775
<HR>
776

    
777
<A NAME="createVolumeOutputStream(java.io.File, long, int)"><!-- --></A><H3>
778
createVolumeOutputStream</H3>
779
<PRE>
780
private void <B>createVolumeOutputStream</B>(java.io.File&nbsp;volume,
781
                                      long&nbsp;maxvolumesize,
782
                                      int&nbsp;currentvolume)
783
                               throws java.io.IOException</PRE>
784
<DL>
785
<DD>Actually creates the outputstream for writing a volume with index currentvolume and a maximum
786
 of maxvolumesize
787
<P>
788
<DD><DL>
789
<DT><B>Parameters:</B><DD><CODE>volume</CODE> - - the volume to write to<DD><CODE>maxvolumesize</CODE> - - the maximum volume size<DD><CODE>currentvolume</CODE> - - the currentvolume index
790
<DT><B>Throws:</B>
791
<DD><CODE>java.io.IOException</CODE></DL>
792
</DD>
793
</DL>
794
<HR>
795

    
796
<A NAME="getCurrentVolumeSize()"><!-- --></A><H3>
797
getCurrentVolumeSize</H3>
798
<PRE>
799
protected long <B>getCurrentVolumeSize</B>()</PRE>
800
<DL>
801
<DD>Returns the size of the current volume
802
<P>
803
<DD><DL>
804

    
805
<DT><B>Returns:</B><DD>the size of the current volume FILE_NOT_AVAILABLE, if there's no current volume</DL>
806
</DD>
807
</DL>
808
<HR>
809

    
810
<A NAME="createStreamToNextVolume()"><!-- --></A><H3>
811
createStreamToNextVolume</H3>
812
<PRE>
813
protected void <B>createStreamToNextVolume</B>()
814
                                 throws java.io.IOException</PRE>
815
<DL>
816
<DD>Closes the stream to the current volume and reopens to the next volume
817
<P>
818
<DD><DL>
819

    
820
<DT><B>Throws:</B>
821
<DD><CODE>java.io.IOException</CODE></DL>
822
</DD>
823
</DL>
824
<HR>
825

    
826
<A NAME="close()"><!-- --></A><H3>
827
close</H3>
828
<PRE>
829
public void <B>close</B>()
830
           throws java.io.IOException</PRE>
831
<DL>
832
<DD><DL>
833
<DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Overrides:</B><DD><CODE>close</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
834
</DD>
835
<DD><DL>
836

    
837
<DT><B>Throws:</B>
838
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><CODE>OutputStream.close()</CODE></DL>
839
</DD>
840
</DL>
841
<HR>
842

    
843
<A NAME="write(byte[], int, int)"><!-- --></A><H3>
844
write</H3>
845
<PRE>
846
public void <B>write</B>(byte[]&nbsp;b,
847
                  int&nbsp;off,
848
                  int&nbsp;len)
849
           throws java.io.IOException</PRE>
850
<DL>
851
<DD><DL>
852
<DT><B>Overrides:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
853
</DD>
854
<DD><DL>
855

    
856
<DT><B>Throws:</B>
857
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><CODE>OutputStream.write(byte[], int, int)</CODE></DL>
858
</DD>
859
</DL>
860
<HR>
861

    
862
<A NAME="write(byte[])"><!-- --></A><H3>
863
write</H3>
864
<PRE>
865
public void <B>write</B>(byte[]&nbsp;b)
866
           throws java.io.IOException</PRE>
867
<DL>
868
<DD><DL>
869
<DT><B>Overrides:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
870
</DD>
871
<DD><DL>
872

    
873
<DT><B>Throws:</B>
874
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><CODE>OutputStream.write(byte[])</CODE></DL>
875
</DD>
876
</DL>
877
<HR>
878

    
879
<A NAME="write(int)"><!-- --></A><H3>
880
write</H3>
881
<PRE>
882
public void <B>write</B>(int&nbsp;b)
883
           throws java.io.IOException</PRE>
884
<DL>
885
<DD><DL>
886
<DT><B>Specified by:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
887
</DD>
888
<DD><DL>
889

    
890
<DT><B>Throws:</B>
891
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><CODE>OutputStream.write(int)</CODE></DL>
892
</DD>
893
</DL>
894
<HR>
895

    
896
<A NAME="flush()"><!-- --></A><H3>
897
flush</H3>
898
<PRE>
899
public void <B>flush</B>()
900
           throws java.io.IOException</PRE>
901
<DL>
902
<DD><DL>
903
<DT><B>Specified by:</B><DD><CODE>flush</CODE> in interface <CODE>java.io.Flushable</CODE><DT><B>Overrides:</B><DD><CODE>flush</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
904
</DD>
905
<DD><DL>
906

    
907
<DT><B>Throws:</B>
908
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><CODE>OutputStream.flush()</CODE></DL>
909
</DD>
910
</DL>
911
<HR>
912

    
913
<A NAME="getVolumeCount()"><!-- --></A><H3>
914
getVolumeCount</H3>
915
<PRE>
916
public int <B>getVolumeCount</B>()</PRE>
917
<DL>
918
<DD>Returns the amount of currently created volumes
919
<P>
920
<DD><DL>
921

    
922
<DT><B>Returns:</B><DD>the amount of created volumes</DL>
923
</DD>
924
</DL>
925
<HR>
926

    
927
<A NAME="getFirstvolumefreespacesize()"><!-- --></A><H3>
928
getFirstvolumefreespacesize</H3>
929
<PRE>
930
public long <B>getFirstvolumefreespacesize</B>()</PRE>
931
<DL>
932
<DD><DL>
933

    
934
<DT><B>Returns:</B><DD></DL>
935
</DD>
936
</DL>
937
<HR>
938

    
939
<A NAME="setFirstvolumefreespacesize(long)"><!-- --></A><H3>
940
setFirstvolumefreespacesize</H3>
941
<PRE>
942
public void <B>setFirstvolumefreespacesize</B>(long&nbsp;firstvolumefreespacesize)</PRE>
943
<DL>
944
<DD><DL>
945
<DT><B>Parameters:</B><DD><CODE>firstvolumefreespacesize</CODE> - </DL>
946
</DD>
947
</DL>
948
<HR>
949

    
950
<A NAME="getCompressedFilepointer()"><!-- --></A><H3>
951
getCompressedFilepointer</H3>
952
<PRE>
953
public long <B>getCompressedFilepointer</B>()
954
                              throws java.io.IOException</PRE>
955
<DL>
956
<DD>Returns the current position in this file
957
<P>
958
<DD><DL>
959

    
960
<DT><B>Returns:</B><DD>the position in this file
961
<DT><B>Throws:</B>
962
<DD><CODE>java.io.IOException</CODE></DL>
963
</DD>
964
</DL>
965
<HR>
966

    
967
<A NAME="getFilepointer()"><!-- --></A><H3>
968
getFilepointer</H3>
969
<PRE>
970
public long <B>getFilepointer</B>()</PRE>
971
<DL>
972
<DD><DL>
973
</DL>
974
</DD>
975
</DL>
976
<!-- ========= END OF CLASS DATA ========= -->
977
<HR>
978

    
979

    
980
<!-- ======= START OF BOTTOM NAVBAR ====== -->
981
<A NAME="navbar_bottom"><!-- --></A>
982
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
983
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
984
<TR>
985
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
986
<A NAME="navbar_bottom_firstrow"><!-- --></A>
987
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
988
  <TR ALIGN="center" VALIGN="top">
989
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
990
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
991
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
992
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
993
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
994
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
995
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
996
  </TR>
997
</TABLE>
998
</TD>
999
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1000
</EM>
1001
</TD>
1002
</TR>
1003

    
1004
<TR>
1005
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1006
&nbsp;<A HREF="../../../../com/izforge/izpack/io/FileSpanningInputStream.html" title="class in com.izforge.izpack.io"><B>PREV CLASS</B></A>&nbsp;
1007
&nbsp;<A HREF="../../../../com/izforge/izpack/io/VolumeNotFoundException.html" title="class in com.izforge.izpack.io"><B>NEXT CLASS</B></A></FONT></TD>
1008
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1009
  <A HREF="../../../../index.html?com/izforge/izpack/io/FileSpanningOutputStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1010
&nbsp;<A HREF="FileSpanningOutputStream.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1011
&nbsp;<SCRIPT type="text/javascript">
1012
  <!--
1013
  if(window==top) {
1014
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1015
  }
1016
  //-->
1017
</SCRIPT>
1018
<NOSCRIPT>
1019
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1020
</NOSCRIPT>
1021

    
1022

    
1023
</FONT></TD>
1024
</TR>
1025
<TR>
1026
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1027
  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>
1028
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1029
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>
1030
</TR>
1031
</TABLE>
1032
<A NAME="skip-navbar_bottom"></A>
1033
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1034

    
1035
<HR>
1036

    
1037
</BODY>
1038
</HTML>