このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XMarkableStream
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: io ::

interface XMarkableStream
Description
makes it possible to 始める,決める and 除去する seekable 示すs to a stream.

Methods' 要約
createMark creates a 示す of the 現在の postion and returns an identifier to it.  
deleteMark 削除するs the 示す that you 以前 created with XMarkableStream::createMark.  
jumpToMark jumps to a 以前 created 示す.  
jumpToFurthest jumps to the furthest position of the stream.  
offsetToMark  
Methods' 詳細(に述べる)s
createMark
long
createMark()
raises( IOException );

Description
creates a 示す of the 現在の postion and returns an identifier to it.
deleteMark
無効の
deleteMark( [in] long  示す )
raises( IOException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
削除するs the 示す that you 以前 created with XMarkableStream::createMark.

It is an error to 削除する a 示す if other 示すs after this 存在する. In this 事例/患者, for 推論する/理由s of robustness, the 実施 must 削除する this 示す and all others after this 示す.

jumpToMark
無効の
jumpToMark( [in] long  nMark )
raises( IOException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
jumps to a 以前 created 示す.
jumpToFurthest
無効の
jumpToFurthest()
raises( IOException );

Description
jumps to the furthest position of the stream.

In the inputstream 事例/患者, a その後の read call returns data, that was never read or skipped over before. In the outputstream 事例/患者, a その後の 令状 call will 追加する new data at the end of the stream without overwriting 存在するing data.

offsetToMark
long
offsetToMark( [in] long  nMark )
raises( IOException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Returns
the 相殺する from the 現在の stream position to the 示す ("現在の position" - "示す position").
Parameter nMark
identifies the 示す which is used as a base to calculate the 相殺する of the 現在の position.
Throws
IllegalArgumentException if the 示す does not 存在する or is 削除するd.
Throws
IOException if an I/O error has occurred.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.