Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
 
::  com  :: sun  :: star  :: io  :: 
 
 
interface XMarkableStream 
 
 
Description  
makes it possible to set and remove seekable marks to a stream.
  
 
 
 
 
 
Methods' Details 
 
createMark 
 
Description  
creates a mark of the current postion and returns an identifier to it.
  
 
 
 
 
 
deleteMark 
 
Description  
deletes the mark that you previously created with 
 XMarkableStream ::createMark .
 
  
It is an error to delete a mark if other marks after this
 exist. In this case, for reasons of robustness, the
 implementation must delete this mark and all others after
 this mark. 
  
 
 
 
 
 
jumpToMark 
 
Description  
jumps to a previously created mark.
  
 
 
 
 
 
jumpToFurthest 
 
Description  
jumps to the furthest position of the stream.
  
 In the inputstream case, a subsequent read call returns
 data, that was never read or skipped over before. In the 
 outputstream case, a subsequent write call will add
 new data at the end of the stream without overwriting existing data.
 
 
 
 
 
 
 
offsetToMark 
 
Returns  
the offset from the current stream position to the 
 mark ("current position" - "mark position"). 
 
  
Parameter nMark  
identifies the mark which is used as a base 
 to calculate the offset of the current position. 
 
  
Throws  
IllegalArgumentException 
 if the mark does not exist or is deleted. 
 
  
Throws  
IOException 
 if an I/O error has occurred.
  
 
 
 
 
 
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.